-
Hi! Does it possible to disable validation in autosave ? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Hi @slavb18! There's no option to disable validation in autosave and we don't plan to have such a feature at all. However, your use case doesn't need that. What you can do instead, is to get the form model manually ( Let me know whether it's clear. |
Beta Was this translation helpful? Give feedback.
-
Is there plans to make submit button with name/value pair ? in html form this leads to different data submitted from different submit buttons this could be use also to distinguish autosave from submit button click (in second case model will contain key:"value" pair) |
Beta Was this translation helpful? Give feedback.
Hi @slavb18! There's no option to disable validation in autosave and we don't plan to have such a feature at all. However, your use case doesn't need that. What you can do instead, is to get the form model manually (
form.getModel()
) either on some user interaction (e.g., "Save" button click) or per-change, withonChange
/onChangeModel
. This way you can persist the (partial) model without validation.Let me know whether it's clear.