Timeline for How to add Chosen JS library to theme?
Current License: CC BY-SA 3.0
7 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jan 18, 2018 at 19:03 | comment | added | usernameabc | understood, but it added a lot of what i didn't need so the proposed solutions work for lighter implementation. | |
Jan 18, 2018 at 18:52 | comment | added | Kevin | Yeah, you have to initialize it yourself. I forgot to mention that but assumed you had that. This is the stuff Chosen module takes care of for you. | |
Jan 18, 2018 at 18:44 | comment | added | usernameabc | i updated that code in the original post. I added them as a library as you have shown above and it is working in my test scenarios. I have additionally updated my other comments. The only additional i made was I needed to add a Drupal behavior to handle the Chosen Options found on harvesthq.github.io/chosen/options.html | |
Jan 18, 2018 at 18:41 | vote | accept | usernameabc | ||
S Jan 18, 2018 at 18:24 | history | suggested | GiorgosK | CC BY-SA 3.0 |
added extra option for twig template
|
Jan 18, 2018 at 18:17 | review | Suggested edits | |||
S Jan 18, 2018 at 18:24 | |||||
Jan 18, 2018 at 18:13 | history | answered | Kevin | CC BY-SA 3.0 |