It is possible to use "select2" in a "select" #152
Replies: 3 comments 1 reply
-
Definitely not a simple question! I created #153 to track this. |
Beta Was this translation helpful? Give feedback.
-
First of all thank you for this project. I already love it ! Anyway ! This was a pain but here is what I came up with in order to use field auto-completion. component.py
component.html
The concept is pretty basic. I started from the Search example component and added the javascript autocomplete example from W3Schools. I had to tweak it a little but the concept is the same. Let me know if you have any idea how to make it more robust. |
Beta Was this translation helpful? Give feedback.
-
@chinoosniel I have added I'm going to lock this conversation, but feel free to create a new one if you need any other help! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
maybe this question is very simple but I have a "Modal" with a "select" field and I would like to use "select2". here I show an example in a reduced way:
when changing the values these are assigned correctly from what I see in the console, but the changes are not transmitted but the starting value returns. This only happens when I use select2
Beta Was this translation helpful? Give feedback.
All reactions