Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to show value instead of options text in the button for selected options? #1244

Open
markusd1984 opened this issue Nov 15, 2022 · 0 comments

Comments

@markusd1984
Copy link

markusd1984 commented Nov 15, 2022

Is there a configuration option or can we use template button to show value of options instead of options text for selected options?

UPDATE: I found buttonText with reference to " names of the selected options if less than numberDisplayed options are selected."

Managed to make it work by using the below

 labels.push($(this).attr('value'));

instead of

labels.push($(this).html());

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant