@@ -59,7 +59,6 @@ export default {
5959
6060 methods : {
6161 validate ( calledParent ) {
62- // console.log('abstractField', 'validate', calledParent);
6362 this . clearValidationErrors ( ) ;
6463 let validateAsync = objGet ( this . formOptions , "validateAsync" , false ) ;
6564
@@ -96,17 +95,14 @@ export default {
9695 }
9796
9897 let handleErrors = ( errors ) => {
99- // console.log('abstractField', 'all', errors);
10098 let fieldErrors = [ ] ;
10199 forEach ( errors , ( err ) => {
102- // console.log('abstractField', 'err', err);
103100 if ( isArray ( err ) && err . length > 0 ) {
104101 fieldErrors = fieldErrors . concat ( err ) ;
105102 } else if ( isString ( err ) ) {
106103 fieldErrors . push ( err ) ;
107104 }
108105 } ) ;
109- // console.log('abstractField', 'fieldErrors', 'final', fieldErrors);
110106 if ( isFunction ( this . schema . onValidated ) ) {
111107 this . schema . onValidated . call ( this , this . model , fieldErrors , this . schema ) ;
112108 }
@@ -116,7 +112,6 @@ export default {
116112 this . $emit ( "validated" , isValid , fieldErrors , this ) ;
117113 }
118114 this . errors = fieldErrors ;
119- // console.log('abstractField', 'this.errors', this.errors);
120115 return fieldErrors ;
121116 } ;
122117
0 commit comments