How to pre-select default options in <select “multiple”> element using AngularJS

前端 未结 1 1338
伪装坚强ぢ
伪装坚强ぢ 2020-12-22 12:03

I have an object param that has these properties:

param.ValidValues (key-value array)

param.DefaultValues (values

相关标签:
1条回答
  • 2020-12-22 12:47

    Take a look what values you are using to populate your default values

    I use ng-options because it has a better performance

    Check this example, I updated a few minutes ago. Please click here

    I hope this will be useful for you.

    0 讨论(0)
提交回复
热议问题