@@ -59,7 +59,6 @@ export default {
59
59
60
60
methods : {
61
61
validate ( calledParent ) {
62
- // console.log('abstractField', 'validate', calledParent);
63
62
this . clearValidationErrors ( ) ;
64
63
let validateAsync = objGet ( this . formOptions , "validateAsync" , false ) ;
65
64
@@ -96,17 +95,14 @@ export default {
96
95
}
97
96
98
97
let handleErrors = ( errors ) => {
99
- // console.log('abstractField', 'all', errors);
100
98
let fieldErrors = [ ] ;
101
99
forEach ( errors , ( err ) => {
102
- // console.log('abstractField', 'err', err);
103
100
if ( isArray ( err ) && err . length > 0 ) {
104
101
fieldErrors = fieldErrors . concat ( err ) ;
105
102
} else if ( isString ( err ) ) {
106
103
fieldErrors . push ( err ) ;
107
104
}
108
105
} ) ;
109
- // console.log('abstractField', 'fieldErrors', 'final', fieldErrors);
110
106
if ( isFunction ( this . schema . onValidated ) ) {
111
107
this . schema . onValidated . call ( this , this . model , fieldErrors , this . schema ) ;
112
108
}
@@ -116,7 +112,6 @@ export default {
116
112
this . $emit ( "validated" , isValid , fieldErrors , this ) ;
117
113
}
118
114
this . errors = fieldErrors ;
119
- // console.log('abstractField', 'this.errors', this.errors);
120
115
return fieldErrors ;
121
116
} ;
122
117
0 commit comments