04-28-2018 13:29 - edited 04-28-2018 13:30
04-28-2018 13:29 - edited 04-28-2018 13:30
The text on the left side of the select button is controlled by the label attribute. The text above the list items is controlled by the title attribute. The text for each list item is controlled by the renderItem attribute. But is there any way to control the text on the right side of the select button?
For example, if a large number of items are in a list, it would be nice to be able to change this text to something like "12 Selected" instead of just showing the name of the first few items followed by an ellipsis.
As another example, let's say the user is selecting days of the week. If the user chooses every day of the week, rather than displaying "Sunday, Monday, Tuesday, Wedn..." it would be nice to be able to change the text to "Every Day".
I'll create this as a feature request if it currently isn't possible, but figured I'd check first.
Answered! Go to the Best Answer.
05-01-2018 02:52
05-01-2018 02:52
I checked with the relevant team, but unfortunately it's not currently possible.
05-01-2018 02:52
05-01-2018 02:52
I checked with the relevant team, but unfortunately it's not currently possible.
05-01-2018 08:23
05-01-2018 08:23
No worries—I added this as a feature suggestion. We'll see how much demand there is for this.
11-18-2018 09:53
11-18-2018 09:53
@SunsetRunner I see you were able to use the multiple selection settings component. How do you convert the newValue from the settings to use in index.js? Thanks.