async select in form: what's the proper way to implement this with unpoly? #781
Unanswered
choucavalier
asked this question in
Q&A
Replies: 1 comment
-
|
I would use Your example is an interesting one because it's kind of a hybrid element, perhaps closer to an |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I want to implement an "async select" form element, where values are fetched from the server. Ideally, I'd rather not have to implement an API, but instead update the select DOM with unpoly directly.
Here's an example of what I'm talking about: https://druids.datadoghq.com/components/form/Select#async
I'm not sure what's the right way to implement this with unpoly. I'm thinking about using [up-validate] / [up-watch-event='input'], but I want to make sure this is the proper way of doing it!
Beta Was this translation helpful? Give feedback.
All reactions