-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
表单模型再次赋值时的BUG(bug:When the form model was again assignment) #106
Comments
It's an angular problem, please use setValue or patchvalue to manipulate form value. |
你好,但是原生的ANGULAR响应式表单的input是没问题的: <input id="email" name="email" formControlName="email" (blur)="onIdCardChange(validateForm.controls)" class="form-control"> |
Hi @myepoch this.validateForm.controls['email'].setValue('hello@nz-zorro.com'); |
related #114 |
This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread. |
当表单模型再次被赋值的时候报错(When the form model was again assignment,error) :
’ERROR Error: There is no FormControl instance attached to form control element with name: 'email'
CN:以下是页面部分代码
EN:html code
The text was updated successfully, but these errors were encountered: