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

Customize message and add style to max selected message displayed. #826

Open
Sagar-Sobti opened this issue Aug 7, 2018 · 0 comments
Open

Comments

@Sagar-Sobti
Copy link

What is the current behavior?

In current version, you can not change the font color of max selected message that is displayed and message is not configurable.

What is the expected behavior?

Please add options to set custom message and class for styling the message.

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo

Common options for demos are jsfiddle and codepen

If you are requesting a new or changed feature, please provide a rationale

Sometime we want to display max selected message is red color and base color of button message is changed to gel with theme of website.

Will you submit a corresponding Pull Request to fix the bug or implement the feature?

I modified the line# 930 to
self.buttonMessage("<center style='color:red'><b>LIMIT OF " + (numChecked - 1) + " REACHED!</b></center>");
to make message red. I know this is not the best way to do, but it is a quick fix for me.

Please tell us about your setup

  • Version: jQuery UI MultiSelect Widget 3.0.0
  • Browser: IE and Chrome
  • Other frameworks in use: ASP.Net
@Sagar-Sobti Sagar-Sobti changed the title Custom message and style to max selected message displayed. Customize message and add style to max selected message displayed. Aug 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants