Replies: 2 comments 4 replies
-
I would also like to auto-populate the select with some values from the query string when the page loads. Since the select gets the data remotely, it would have to perform a search and select the top result (I know the top result will be correct because it's searching by item ID). How can this be done? Thanks for any help! |
Beta Was this translation helpful? Give feedback.
-
I think I figured out a way.
It's close to an example in the docs, but it wasn't very obvious to me. Basically, the argument to |
Beta Was this translation helpful? Give feedback.
-
Hello,
I may have a somewhat unusual use case and would like to know if this is even possible. I have tried a few functions and triggers now, but nothing has worked.
I would like to include two select fields, each making AJAX requests to different sources. I would like to enter the search word via another text field and this should then be transferred to the two select fields, which then perform a search if possible without opening the dropdown and automatically select the first result.
Using "setTextboxValue()" I get the value into the input fields of the select fields, but nothing else happens. I also tried to trigger input events using "trigger()", but also without success.
A push in the right direction would be nice^^
Beta Was this translation helpful? Give feedback.
All reactions