Good day,
Is there a nice way to save the form data upon blur (or EditorExit) event? It looks like calling DynamicForm.saveData() from blur or EditorExit handlers prevents the further event propagation. For example, let's say we have a DynamicForm with one TextItem and a Button. User clicks on the TextItem, makes some changes and then clicks on the button. The form sends the data to the server as expected, but button onClick event never happens. The button only gets focus and the second click on it triggers onClick as expected. Basically, we would like to allow the user to save the data as she navigates from field to field much like DynamicForm. setSaveOnEnter(true) does on enter press.
Is there a nice way to save the form data upon blur (or EditorExit) event? It looks like calling DynamicForm.saveData() from blur or EditorExit handlers prevents the further event propagation. For example, let's say we have a DynamicForm with one TextItem and a Button. User clicks on the TextItem, makes some changes and then clicks on the button. The form sends the data to the server as expected, but button onClick event never happens. The button only gets focus and the second click on it triggers onClick as expected. Basically, we would like to allow the user to save the data as she navigates from field to field much like DynamicForm. setSaveOnEnter(true) does on enter press.
Comment