feat(listbox): support disabled items in combobox, dropdown, filterablemultiselect#9913
Conversation
…77-disable-combobox-dropdown-items
|
✔️ Deploy Preview for carbon-react-next ready! 🔨 Explore the source changes: 9e4ce0d 🔍 Inspect the deploy log: https://app.netlify.com/sites/carbon-react-next/deploys/6172df20c9ab020007875efd 😎 Browse the preview: https://deploy-preview-9913--carbon-react-next.netlify.app |
|
✔️ Deploy Preview for carbon-elements ready! 🔨 Explore the source changes: 9e4ce0d 🔍 Inspect the deploy log: https://app.netlify.com/sites/carbon-elements/deploys/6172df20c9ab020007875ef9 😎 Browse the preview: https://deploy-preview-9913--carbon-elements.netlify.app |
|
✔️ Deploy Preview for carbon-components-react ready! 🔨 Explore the source changes: 9e4ce0d 🔍 Inspect the deploy log: https://app.netlify.com/sites/carbon-components-react/deploys/6172df203a447600074cdaef 😎 Browse the preview: https://deploy-preview-9913--carbon-components-react.netlify.app |
|
Been thinking about this more -- we might want to use a pattern we've used elsewhere and have the disabled items not actually be That way they're still able to be focused and communicate their state to the user via screen reader or whatever |
Closes #6477
Refs #9859, #9610, #7772, #7780
Adds support for disabling individual items inside
ComboBox,Dropdown, andFilterableMultiSelect.Changelog
Changed
Testing / Reviewing
View each of the stories for these components. They have been updated to have a single disabled item for testing purposes.