We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f68752c commit cab02b0Copy full SHA for cab02b0
src/Form.js
@@ -148,8 +148,7 @@ class Form extends Component {
148
this.setStateInternal({
149
dirty: areDirty,
150
errors: this.validate(config, allFields, areDirty),
151
- fields: allFields,
152
- submitted: false,
+ fields: allFields
153
});
154
};
155
@@ -312,6 +311,7 @@ class Form extends Component {
312
311
onChange={this.onChange}
313
onSubmit={this.onSubmit}
314
onReset={this.onReset}
+ novalidate
315
>
316
<FormProvider value={formContext}>{children}</FormProvider>
317
</form>
0 commit comments