Home » Javascript » angularJS select is not initialized when using object

angularJS select is not initialized when using object

Posted by: admin October 29, 2018 Leave a comment

Questions:

I am using the following in my HTML

<select class="form-control"
                        required
                        ng-model="crud.model.dateRange"                       
                        ng-options="range as range.description for range in crud.metaData.dateRanges"></select>
Answers: