Open XSharn opened 3 years ago
[https://stackblitz.com/Edit/ng- Zorro-antd-ivy-m2rzff?file=src/app/app.component.ts](https://stackblitz.com/edit/ng-zorro-antd- Ivy-m2rzff? file = src / app/ app.component.ts)
Select the value of Value after selecting
After the selected value will change
https://stackblitz.com/edit/ng-zorro-antd-ivy-m2rzff?file=src/app/app.component.ts Trigger NGModelchange event when setting formControl's updateon = 'blur' attribute
ENVIRONMENT | INFO |
---|---|
Ng-Zorro-ANTD | 10.2.2 |
Browser | Chrome |
Is it SELECT does not support Updateon properties
延迟不太准确吧,应该是再次失去焦点时值变成了第一次你要选取的值。
Reproduction link
https://stackblitz.com/edit/ng-zorro-antd-ivy-m2rzff?file=src/app/app.component.ts
Steps to reproduce
选择以后观察value的值
What is expected?
选择完了以后值会变
What is actually happening?
https://stackblitz.com/edit/ng-zorro-antd-ivy-m2rzff?file=src/app/app.component.ts 当设置FormControl的updateOn=’blur‘属性时会延迟触发ngModelChange事件
是不是select不支持updateOn 属性