designsystemet icon indicating copy to clipboard operation
designsystemet copied to clipboard

Combobox - Clear selected input

Open TobiasHansen opened this issue 9 months ago • 0 comments

Description

The clearing option is disabled if the Combobox is not being used as multiple. We have a form where we need our users to being able to clear a selected value, current workaround is to have a clear button beside the Combobox, but I would like the UI to be consistent between all Comboboxes used in the form.

I see that different design systems does this does this differently, some allows it (like Aksel ), and some doesnt.

My proposal is to make it possible to clear the value, but if that is not desirable then I would like to be able to send in a custom InputField to extend the component ourself.

Additional Information

No response

TobiasHansen avatar May 16 '24 08:05 TobiasHansen