setting Angular select ng-init to first value in array

前端 未结 0 681
半阙折子戏
半阙折子戏 2021-02-13 08:33

I have a simple select element that I am trying to enforce a value being present to submit the form and I have tried both setting the required attribute as well as using ng-init

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