Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expansion does not work properly for inner hierarchical nodes on pressing TAB #332

Closed
DeekshaBhandary opened this issue May 27, 2022 · 1 comment

Comments

@DeekshaBhandary
Copy link

yang def:

list list1{
      key  "key1";	  
	  leaf key1{
	      type string;
	  }
	  uses list1;
}

list list2{
     key "key2";
     leaf key2{
         type string;
	 }
}
cli>set list1 1test list2 1key1
cli>set list1 1test list2 1key2
cli>set list1 1test list2 1key3  
cli>set list1 2test list2 2key2
cli>set list1 3test list2 3key2
cli>commit
cli> set list1 <PRESS TAB>
 1test                2test                3test                <key1>     <-------- options seen on pressing TAB and '?' are same
cli> set list1  <PRESS ?>
1test        <helptext>
2test        <helptext>
3test        <helptext>
<key1>    <helptext>
cli>	 set list1 1test list2 <PRESS?>
1key1        <helptext>
1key2        <helptext>
1key3        <helptext>
<key2>      <helptext>
cli>set list1 1test list2 <PRESS TAB>
<key2>                                                        <--------------Issue: On pressing TAB the other suggestions are not seen
cli>
@DeekshaBhandary
Copy link
Author

Issue is resolved

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants