filmov
tv
Using NgModel With Input Type='File' And A Custom ControlValueAccessor In Angular 7.2.12
![preview_player](https://i.ytimg.com/vi/j6qwlcxAg_k/maxresdefault.jpg)
Показать описание
Ben Nadel demonstrates how to create a custom ControlValueAccessor that targets File Inputs (type="file") and synchronizes File references with the view-model using NgModel in Angular 7.2.12. This is in contrast to the default value-accessor, which only synchronizes the "value" property of the File Input.