-
Notifications
You must be signed in to change notification settings - Fork 110
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 change Select drop down name to some custom text? #48
Comments
For those who didn't find this at first look, just watch the binding options in the directive, you have : and in the html : which leads to the method and the following option : so just add the labels option, in the html or in the js : |
If there is a better solution to this please share. |
@Talhah what do you mean by "better" ? |
@aboudard Sorry, this method is the best. I did not understand the solution. |
For those who are confused as to where the labels object should be placed please see below example:
Nice and simple fix via @aboudard |
In bootstrap-multiselect.js file dropdown name is set using nonSelectedText: 'None selected' .You can change none selected to name which you want to set |
I would like to change the Select drop down name to some other custom name. For example, I would like to change it to Campaign Select. How to do it?
Thanks in advance. I am adding a screen shot below for your reference.
The text was updated successfully, but these errors were encountered: