Looking at the Lightning Design System's Combobox documentation, it has an example showing the styling for disabled list-items.
However, looking at the LWC lightning-combobox
element, I can't see a way of creating disabled combobox list-items. I have tried adding disabled: true
, or disabled: 'disabled'
to the option objects for the list items, but it doesn't have any effect.
Is there a way to use the out-of-the box LWC lightning-combobox element to show some disabled list-items?