0
HDaoud created
- ABP Framework version: v8.1
- UI Type: Angular
- Database System: EF Core (SQL Server)
- Exception message and full stack trace:
ERROR Error: NG01203: No value accessor for form control name: 'password'. Find more at https://angular.io/errors/NG01203
at _throwMissingValueAccessorError (forms.mjs:3174:11)
at setUpControl (forms.mjs:2947:13)
at FormGroupDirective.addControl (forms.mjs:4794:9)
at FormControlName._setUpControl (forms.mjs:5382:43)
at FormControlName.ngOnChanges (forms.mjs:5327:18)
at FormControlName.rememberChangeHistoryAndInvokeOnChangesHook (core.mjs:2510:14)
at callHookInternal (core.mjs:3544:14)
at callHook (core.mjs:3575:9)
at callHooks (core.mjs:3526:17)
at executeInitAndCheckHooks (core.mjs:3476:9)
- Steps to reproduce the issue: We have a form to add employees and we use it to feed the users table (create user, assign role and password), when upgraded to 8.1 we got this error in angular.
1 Answer(s)
-
0
Hi, this is a bug causes from us, so i am refunding your question credit.
This will be fixed in next patch version.
In order to get rid of this error, you can import
PasswordComponent
to your module or standalone component. Can be imported from@abp/ng.theme.shared
package.I have to mention that this component is deprecated. maybe you can think about using the new alternative. https://docs.abp.io/en/abp/latest/UI/Angular/Show-Password-Directive
You can follow the PR here.