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
Hello everyone!
I don't know if it is my mistake, but my placeholder doesn't change with the text i put it, even when i copy-paste the same example in the documentation
Version: v2.1.0
But if i put multiple="multiple" in the select, it works, but i really don't need this, I only want that the user choose ONE option
SOLUTION
After a time, I changed this and that, I realized that the "problem" was in the file javascript dist/js/nice-select2.js or well that was the only thing that it worked for me...
I had to change all the file minimified javascript to the "normal" javascript, where did i get this code? In the documentation page, I just used the development tools and looked for the javascript file, located in the Network->JS->nice-select2.js, and copied the code in the file in my computer.
Andddd wuolah! It works like a charms
In this moment, it works but I want to know if it is a mistake mine or is some error in the file minimified javascript, if someone can tell me, Why this is happening? I'll be very greatful, thanks
The code that I wrote in the nice-select2.js, and case that you can't get this code, it is the next, remember that the version is v2.1.0
Hello everyone!
I don't know if it is my mistake, but my placeholder doesn't change with the text i put it, even when i copy-paste the same example in the documentation
Version:
v2.1.0
The result that I got is this:
But if i put
multiple="multiple"
in the select, it works, but i really don't need this, I only want that the user choose ONE optionSOLUTION
After a time, I changed this and that, I realized that the "problem" was in the file javascript dist/js/nice-select2.js or well that was the only thing that it worked for me...
I had to change all the file
minimified javascript
to the "normal"javascript
, where did i get this code? In the documentation page, I just used thedevelopment tools
and looked for the javascript file, located in theNetwork->JS->nice-select2.js
, and copied the code in the file in my computer.Andddd wuolah! It works like a charms
In this moment, it works but I want to know if it is a mistake mine or is some error in the file minimified javascript, if someone can tell me, Why this is happening? I'll be very greatful, thanks
The code that I wrote in the
nice-select2.js
, and case that you can't get this code, it is the next, remember that the version isv2.1.0
The text was updated successfully, but these errors were encountered: