We have a scenario that shows a form (e.g. with field A and field B) with multiple text fields being edited using MVVM tied to a data source that’s is set to AutoSync. This datasource is tied to a remote connection, so there can be a momentary lag e.g. 1-2 secs.
What we can observe is that :-
- The user types in field A
- The user then clicks on field B, and starts typing…
- As the field A lost focus, AutoSync has kicked in (so network request starts)
- User starts to type in field B, but then previous network request finishes and fieldB resets to the value in the datasource, effectively undoing what the user has just typed
Is this ‘expected’ behaviour? Do you know any methods (or workarounds) to prevent this? Or do we need to disable AutoSync?
Is there any documentation about what events on html input fields that MVVM / AutoSync use, and when ?