Can't bind to 'ngValue' since it isn't a known property of 'option'

前端 未结 3 708
谎友^
谎友^ 2021-02-18 16:40

I am trying to implement select in Angular 5 but I am constantly getting this

I\'ve tried many StackOverflow questions already, The only difference

3条回答
  •  暗喜
    暗喜 (楼主)
    2021-02-18 16:48

    [value] will work in this case. In my case also, I haven't used formmodule, just using it inside a tag, working fine.

提交回复
热议问题