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