-
Notifications
You must be signed in to change notification settings - Fork 34
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Describe the problem
It's currently painful to make a wrapper component that supports combobox with both multiple: true and multiple: false, due to having to handle combobox.value being posisbly a Set or a single value at every turn.
I am aware that valueAsString exists, but that's a bit too simplistic to support all use cases. Eg. in my app, I have to enrich selected values with more info from the data source.
Describe the proposed solution
Expose the internal #value or a pared down version of it that allows for multiple-agnostic manipulation of the selected value. I'd prefer not to have to set up my own SelectionState over the exposed state, as that feels silly!
Importance
Would make my life easier
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request