You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using react select v1 version 1.2.1. I am trying to display no of item selected on the select box.
By default, it gives value for every option selected.
I now want it to show no of item selected. I used the valueRenderer, valueComponent property, but they give the label for as many number of value.
If i have 5 options, it gives me “5 options selected” 5 times.
Does anyone know how to achieve this in react select v1? I donot have components property like v2.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello All,
I am using react select v1 version 1.2.1. I am trying to display no of item selected on the select box.
By default, it gives value for every option selected.
I now want it to show no of item selected. I used the valueRenderer, valueComponent property, but they give the label for as many number of value.
If i have 5 options, it gives me “5 options selected” 5 times.
Does anyone know how to achieve this in react select v1? I donot have components property like v2.
Thank you
Beta Was this translation helpful? Give feedback.
All reactions