AlaskaAirlines / auro-menu

Custom element that provides a list of options for the user to choose from
https://auro.alaskaair.com/components/auro/menu
Apache License 2.0
2 stars 3 forks source link

Ability to disable auro-menu #175

Closed jesussilverioea closed 1 year ago

jesussilverioea commented 1 year ago

Is your feature request related to a problem? Please describe.

We should have the ability to disable the entire menu. Similarly to auro-radio-group that has the ability do disable the clickability of the elements inside.

image

Describe the solution you'd like

I would like to have the disable attribute that we could send to the auro-menu to disable the entire elements inside the menu.

Describe alternatives you've considered

I have tried to disable the auro-menuoptions but this would disable 1 element in the menu not the entire functionality of the menu. At the moment when an element is checked and then clicked on it it would unchecked it even if it is disable.

I open an issue to address the uncheck when disable: https://github.com/AlaskaAirlines/auro-menu/issues/174

blackfalcon commented 1 year ago

@jesussilverioea is this a desired feature or something that is functionality required for your app? Are you blocked by this?