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
I was doing a very silly mistake and got into this issue.
[ngValue]="ctn.value"
[value]
I was importing formsModule
inside parent module, I should have imported it in child module to make [(ngModel)]
work[value]
should be [(value)]
if we want the default selection show up.so my final component code is.