遇到问题:
控制台报错如下ERROR Error: No value accessor for form control with unspecified name attribute

解决:
[(ngModel)]不能直接加在某些标签中
需要同时加ngDefaultControl

遇到问题:
控制台报错如下ERROR Error: No value accessor for form control with unspecified name attribute

解决:
[(ngModel)]不能直接加在某些标签中
需要同时加ngDefaultControl
