Select - Compare with and customizable select value to allow for object values #453
Open
1 of 2 tasks
Labels
enhancement
New feature or request
Which scope/s are relevant/related to the feature request?
Don't know / other
Information
Add a compareWith function similar to material to allow values within the select component to be objects. In many uses you would want to use an object as the value.
Changes would also be required to how the selected value is displayed. By default we could display the property for a key passed in but add ability to expose and allow the user to display based on selected values.
This would also open up the ability to display icons, X, Y + Z more in the selected value field. Giving developers more control on how their select controls look.
Describe any alternatives/workarounds you're currently using
Currently I find the matching value for the object and use a custom select value component to display selected values.
Example Code;
I would be willing to submit a PR to fix this issue
The text was updated successfully, but these errors were encountered: