Closed djdannycastillo closed 8 months ago
Hello @djdannycastillo!
You are correct, the DxcSelect
seems to be crushing when the flag searchable
is true and the list of options is empty. We are going to review this with high priority.
Thanks for the feedback!
Describe the bug DxcSelect crashes application when setting select with searchable, multiple and receives an empty array.
To Reproduce Try below component
<DxcSelect label="Select your coworkers" placeholder="Choose a colleague" options={[]} searchable multiple />
Example:
Expected behaviour Avoid app crash when the component receives an empty array
Screenshots
Add labels Bug