Commit c1e1d647 authored by Gabriel Monnerat's avatar Gabriel Monnerat

erp5_web_renderjs_ui: Declare form as modified when there is a invalid field

parent a37cc6a3
......@@ -161,6 +161,7 @@
return gadget.translate("Please fill all required fields to submit")
.push(function (message) {
return gadget.notifyChange({
"modified": true,
"message": message,
"status": "error"
});
......
......@@ -234,7 +234,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>991.43808.38688.31368</string> </value>
<value> <string>991.44682.52449.21145</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -252,7 +252,7 @@
</tuple>
<state>
<tuple>
<float>1619563288.81</float>
<float>1619614732.36</float>
<string>UTC</string>
</tuple>
</state>
......
......@@ -134,6 +134,15 @@
<tal:block tal:define="notification_configuration python: {'class': 'error', 'text': 'Please fill all required fields to submit'}">
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_notification" />
</tal:block>
<tr>
<td>chooseOkOnNextConfirmation</td>
<td></td>
<td></td>
</tr>
<tal:block tal:define="click_configuration python: {'text': 'Views'}">
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/click_on_header_link" />
</tal:block>
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_confirmation" />
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/go_to_bar_datetime_field_view" />
<tr>
<td>waitForElementPresent</td>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment