For now, the select component requires both label and value key inside the elements in order to work properly.
I propose that we should be able to choose what label is in our data.
Also, when an array of objects are given, if the value key is missing, the component would work but will not show what is selected on the "select bar".
For now, the select component requires both
label
andvalue
key inside the elements in order to work properly. I propose that we should be able to choose whatlabel
is in our data.Also, when an array of objects are given, if the
value
key is missing, the component would work but will not show what is selected on the "select bar".