Hi,
I’m trying to create a custom data adapter to generate options dynamically, but I have 2 issues with my code (mostly grabbed from stackoverflow, but I don’t have the original anymore),
here’s a jsfiddle for it: https://jsfiddle.net/daf34thu/
First problem: when you click on the “Placeholder” nothing happens, but if you click on the rest of the space it works. It also works without a placeholder, but I would really like to keep it…
Second problem: every time the dropdown opens it forgets the previous value, so if you open the select box, select something, open it again and close it (maybe pressing esc), the value is gone…
Did anyone encounter any of these issues?
Thanks