# Tab completion is not working for conatiner inide the list

**URL:** https://dmap-community.ductus.global/t/tab-completion-is-not-working-for-conatiner-inide-the-list/4448
**Category:** YANG
**Created:** [May 17, 2023, 10:26am UTC](https://dmap-community.ductus.global/t/tab-completion-is-not-working-for-conatiner-inide-the-list/4448 "2023-05-17T10:26:49Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Harshitha](https://avatars.discourse-cdn.com/v4/letter/h/b5e925/32.png) [@Harshitha](https://dmap-community.ductus.global/u/Harshitha)
#### Post date: [May 17, 2023, 10:26am UTC](https://dmap-community.ductus.global/t/tab-completion-is-not-working-for-conatiner-inide-the-list/4448/1 "2023-05-17T10:26:49Z")

</div>

for below schema, when i give tab after the command “show abcd e”, efgh is not automatically filling by itself. What can I do to make the tab completion work for efgh?

list abcd {  
key “name”;  
leaf name {  
type string;  
}  
container efgh {  
uses state;  
}  
}

---

<div class="post-metadata">

### Author: ![cohult](https://yyz2.discourse-cdn.com/flex010/user_avatar/dmap-community.ductus.global/cohult/32/221_2.png) [@cohult](https://dmap-community.ductus.global/u/cohult)
#### Post date: [May 17, 2023, 11:06am UTC](https://dmap-community.ductus.global/t/tab-completion-is-not-working-for-conatiner-inide-the-list/4448/2 "2023-05-17T11:06:40Z")

</div>

Assuming that whatever is inside the “state” grouping used inside the efgh container is some operational “config false” data. Then, if you are in operational mode in the CLI, “show abcd e” tab complete will work.

---

<div class="post-metadata">

### Author: ![Harshitha](https://avatars.discourse-cdn.com/v4/letter/h/b5e925/32.png) [@Harshitha](https://dmap-community.ductus.global/u/Harshitha)
#### Post date: [May 18, 2023, 6:35am UTC](https://dmap-community.ductus.global/t/tab-completion-is-not-working-for-conatiner-inide-the-list/4448/3 "2023-05-18T06:35:01Z")

</div>

```plaintext
list abcd {
    key "name";
      
    leaf name { 
        type string;
    }
    container state {
        uses name-state;
    }
}

```

show abcd state is displaying the data.  
If i give tab after show abcd, it is showing me state as a possible match completion. i want to use state only after name is given. Is there any way to avoid showing state as option under possible match completion after abcd?

---

<div class="post-metadata">

### Author: ![cohult](https://yyz2.discourse-cdn.com/flex010/user_avatar/dmap-community.ductus.global/cohult/32/221_2.png) [@cohult](https://dmap-community.ductus.global/u/cohult)
#### Post date: [May 18, 2023, 12:53pm UTC](https://dmap-community.ductus.global/t/tab-completion-is-not-working-for-conatiner-inide-the-list/4448/4 "2023-05-18T12:53:33Z")

</div>

See the `tailf:cli-suppress-show-match` YANG extension. Details in the tailf\_yang\_cli\_extensions(5) man page.
