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

NavBar and dropDownCaret #177

Open
BrainFeeder opened this issue Jan 30, 2017 · 0 comments
Open

NavBar and dropDownCaret #177

BrainFeeder opened this issue Jan 30, 2017 · 0 comments
Labels
status:ready for adoption Feel free to implement this issue. type:enhancement Enhancement

Comments

@BrainFeeder
Copy link

Hi!

I was using NavBar in Yii2 with dropdowns for the first time. I had to hide the caret for one (or two) dropdowns. These are buttons with only an icon as label (cog and elipsis). As I quickly searched the docs I thought I should set dropDownCaret as an empty string on each Nav item where I wanted the caret to disappear.
It took a while before I saw it had to be set on the entire Nav widget instead of only the menu item.

It could be better to allow this setting on the Nav item itself, we could than use buttons with and without caret in the same Nav.

Also, the Yii1 extension I used before had an 'icon' option together with 'label' and the other options. This seemed more obvious than injecting it in 'label' and setting 'encode' to false for each Nav item.

@samdark samdark added type:enhancement Enhancement status:ready for adoption Feel free to implement this issue. labels Feb 14, 2017
@yiisoft yiisoft deleted a comment Oct 1, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status:ready for adoption Feel free to implement this issue. type:enhancement Enhancement
Projects
None yet
Development

No branches or pull requests

2 participants