Skip to content

Does it possible to disable validation in autosave ? #1075

Answered by radekmie
slavb18 asked this question in Q&A
Discussion options

You must be logged in to vote

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, with onChange/onChangeModel. This way you can persist the (partial) model without validation.

Let me know whether it's clear.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by radekmie
Comment options

You must be logged in to vote
1 reply
@radekmie
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants