ic-ui-kit
ic-ui-kit copied to clipboard
[ic-select] - able to select "no options found" entry
Summary of the bug
With an ic-select with no options set, it is possible to select the "No options found" entry in the popup menu & the value is then set in the input field:
🪜 How to reproduce
Tell us the steps to reproduce the problem:
- Go to this stackblitz example
- Click on the ic-select
- Click on "no options found" option
- See the error - the value is updated
📸 Screenshots or code
🧐 Expected behaviour
the option should not be selectable
📝 Acceptance Criteria
If relevant, describe in full detail the different interactions and edge cases that the component or patterns needs to fulfil.
Given an ic-select with no options When the "no options found" entry is selected Then the value in the input field should not update
Additional info
only affects non-searchable