In Angular Material options, Why hardcode is working? why dynamically returned vaue is not returning?

前端 未结 0 786
闹比i
闹比i 2021-01-19 01:42

I want a mat-option filter to select all options in default. For that I have used

.setValue([1,2,3,4,5,6,7,8])

But now I need the array to be pass

相关标签:
回答
  • 消灭零回复
提交回复
热议问题