"Save Draft" button should avoid "should not be empty" restrictions on inputs

I have a form with inputs that has “should not be empty” property on them, but i also give the option for users to save a draft to come back later to finish, which doesn’t require all inputs to be filled yet, but it wouldnt let me do it since clicking the “draft” button will show a “not valid” error on inputs

Whats the solution?

This topic was automatically closed after 70 days. New replies are no longer allowed.