You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sure. I'm currently building a form, where a user selects a product (via autocomplete) - that's simple and working.
I need to set it programmatically, because I'm optionally prefilling the form by using an ID provided via query parameters.
Simply: If there is an ID provided, prefill the select/autocomplete, if not, a user must select one.
In both cases I need to update my HTML to preview a rendering (not related to that form, but based on that selected product).
Not triggering "change" on a "change"-event seems a bit odd to me. Any suggestions?
Describe the bug
The
change
event won't get triggered if using.autocomplete('set')
.To Reproduce
Steps to reproduce the behavior:
Expected behavior
Expected a
change
event programatically, too.Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: