You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
but, when call this.mapper.readForm(this.form, Login)i have an error, because in method private isValidatorFn(value: any): boolean { return isFunction(value) && !value.prototype.validate; }
value.prototype is null
below part of exception:
ERROR Error: Uncaught (in promise): TypeError: Cannot read properties of undefined (reading 'validate')
TypeError: Cannot read properties of undefined (reading 'validate')
at ValidatorResolver.isValidatorFn (rx-form-mapper.js:324)
at ValidatorResolver.resolve (rx-form-mapper.js:310)
at rx-form-mapper.js:295
at Array.map (<anonymous>)
at FormWriter.buildAbstractControlOptions (rx-form-mapper.js:295)
at FormWriter.visitFormMetadata (rx-form-mapper.js:291)
at FormMetadata.accept (rx-form-mapper.js:78)
at RxFormMapper.writeForm (rx-form-mapper.js:357)
The text was updated successfully, but these errors were encountered:
Hi, i have this part of code
but, when call
this.mapper.readForm(this.form, Login)
i have an error, because in methodprivate isValidatorFn(value: any): boolean { return isFunction(value) && !value.prototype.validate; }
value.prototype is null
below part of exception:
The text was updated successfully, but these errors were encountered: