Disabled doesn't work on SelectElement
Closed this issue · 0 comments
beahoop commented
Duplicates
- I have searched the existing issues
Latest version
- I have tested the latest version
Current behavior 😯
With using the prop disabled on an option, the option does not display as disable and is still clickable.
options={[
{ label: '1', id: 1, disabled: true },
{ label: '2', id: 2 },
]}
Expected behavior 🤔
the option that has the prop past disabled as in the docs, is disabled
Steps to reproduce 🕹
Steps:
- Add SelectElement
- Past options, that include a disabled prop set to true
- Click SelectElement
- See issue, no disabled option