Problem/Motivation
The formUpdated
event isn't triggered when selecting an option from the autocomplete suggestion list. This problem only exists when using the selection dropdown, while typing in the actual textfield the event triggers nicely.
Steps to reproduce
- Create a form with an autocomplete field of any entity.
- Subscribe to the form's "formUpdated" event using jQuery.
- Start typing a value in the autocomplete and select any suggested value from the list.
- The last "formUpdated" event will be the input event, but the selected value from the suggested ones will not trigger the "formUpdated" event.
Proposed resolution
Explicitly triggering the formUpdated
event from the selectHandler
seems to be the most straight forward solution.
Remaining tasks
- Fix.
- Text coverage.
User interface changes
None
API changes
None
Data model changes
None