ui5-li, ui5-li-custom: adding a "disabled" property/attribute
Is your feature request related to a problem? Please describe.
There is no way to prevent ui5-li and ui5-li-custom from being select-able in a ui5-list.
Describe the solution you'd like
Add a disabled property/attribute to ui5-li and ui5-li-custom to prevent them from being selected in a ui5-list. (SingleSelect and MultiSelect)
Describe alternatives you've considered I've considered just not including a list item that I don't want to be select-able, but it is still useful to have the list item visible even if not select-able.
Hello @agauyeung
Try setting type="Inactive":
<ui5-li type="Inactive"></ui5-li>
Hello @agauyeung
Try setting type="Inactive":
<ui5-li type="Inactive"></ui5-li>
Hi @ilhan007 Unfortunately, I have tried this but it does not work that way. "Inactive" only causes the list item to not respond to hover. Please see the example below: https://codesandbox.io/s/ui5-webcomponents-dwhw1
Please reopen this ticket if possible.
Hello @agauyeung
Can you use rc.6? https://codesandbox.io/s/ui5-webcomponents-qtcx6
Hi @ilhan007 Thank you!