You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Issue I've just ran into. When trying to use multiple menu types, for example more than one multiLevelDropdown it will change the state on all of the menus due to the state being the same for each one (multiLevelDropdownCollapsed: true). I understand by looking at the code that this is expected and you've designed it so that each menu has a unique prop. This breaks when trying to do this dynamically or loading a list based off of values from an API (not knowing how many items you'll have).
Any idea on a fix for this?
Cheers,
Brad
The text was updated successfully, but these errors were encountered:
Great port on the sb-admin template!
Issue I've just ran into. When trying to use multiple menu types, for example more than one multiLevelDropdown it will change the state on all of the menus due to the state being the same for each one (multiLevelDropdownCollapsed: true). I understand by looking at the code that this is expected and you've designed it so that each menu has a unique prop. This breaks when trying to do this dynamically or loading a list based off of values from an API (not knowing how many items you'll have).
Any idea on a fix for this?
Cheers,
Brad
The text was updated successfully, but these errors were encountered: