-
Notifications
You must be signed in to change notification settings - Fork 491
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
ManagementToolbar ActionItems show if an empty array is passed #1178
Comments
…date it. A default actionItems is not set because of liferay/clay#1178
hey @jbalsas, we can control this, in that when the array is empty the Dropdown will not appear or we can disable it. We have to check this behavior with Lexicon. |
Hey @matuzalemsteles, this is the expected Lexicon behaviour. The problem right now is more of an issue in our implementation. As it is, My expectation is that both should be equivalente in behaviour :) |
hey @jbalsas, send a correction to fixed this in ManagementToolbar but I will create another issue to analyze the other components that also reproduce the same behavior. |
Change the default value of actionItems to [] | Fixes #1178
In the management toolbar, if an empty array is passed as
actionItems
, an empty dropdown is shown. Would it be possible to control this case?The text was updated successfully, but these errors were encountered: