Open ticket-sync[bot] opened 3 weeks ago
Consider the issue with fixing Select, then needing to fix multi select too
A Cypress test that tests this functionality already exists within IcSelectSearchable.cy.tsx. It currently fails due to this issue, and so will need the 'skip' removing once the issue has been resolved.
In the IcSelect component the Clear button still shows if a selection has been made but the component is disabled. This means that the user can delete the value, but then not be able to re-select it.
Steps to reproduce:
set the value of the IcSelect component
set the disabled and searchable props to true
click the clear selection button
see that the selection has disappeared, but due to the component being disabled, you cannot re-select it.
Expected behaviour:
If the component is disabled, all interactivity should be disabled.