As the docs state,
In multiple selects the selectedItemComponent component is rendered as once per each selected option.
I wonder if there is a way to make it render in a different way: I need to show selected value when only one option is selected, but when there are several options selected I'd like to display
"<selectedThings> - 3"
i.e just a text - type and number of selected options.
Aucun commentaire:
Enregistrer un commentaire