File tree Expand file tree Collapse file tree 2 files changed +4
-11
lines changed
Expand file tree Collapse file tree 2 files changed +4
-11
lines changed Original file line number Diff line number Diff line change 33 "version" : " 0.0.0-semantically-released" ,
44 "description" : " A red hot validation library for React" ,
55 "main" : " dist/index.js" ,
6- "keywords" : [
7- " validation" ,
8- " react" ,
9- " react validation"
10- ],
6+ "keywords" : [" validation" , " react" , " react validation" ],
117 "license" : " MIT" ,
128 "repository" : {
139 "type" : " git" ,
4945 "react" : " ^16.3.1" ,
5046 "react-dom" : " ^16.3.1"
5147 },
52- "files" : [
53- " README.md" ,
54- " dist"
55- ],
48+ "files" : [" README.md" , " dist" ],
5649 "config" : {
5750 "commitizen" : {
5851 "path" : " node_modules/cz-conventional-changelog"
Original file line number Diff line number Diff line change @@ -147,7 +147,7 @@ class Form extends Component {
147147 this . setStateInternal ( {
148148 dirty : areDirty ,
149149 errors : this . validate ( config , allFields , areDirty ) ,
150- fields : allFields
150+ fields : allFields ,
151151 } ) ;
152152 } ;
153153
@@ -307,10 +307,10 @@ class Form extends Component {
307307 return (
308308 < form
309309 { ...rest }
310+ noValidate
310311 onChange = { this . onChange }
311312 onSubmit = { this . onSubmit }
312313 onReset = { this . onReset }
313- novalidate
314314 >
315315 < FormProvider value = { formContext } > { children } </ FormProvider >
316316 </ form >
You can’t perform that action at this time.
0 commit comments