SelectControlValueAccessor
SelectControlValueAccessor
Stable Directive
What it does
Writes values and listens to changes on a select element.
Used by NgModel
, FormControlDirective
, and FormControlName
to keep the view synced with the FormControl
model.
How to use
If you have imported the 登录查看完整内容