Vote count:
0
I am making a html page to edit an item in angular. All the text inputs populate with the object in the $scope. The select list is populating but isn't selecting the option in the $scope object. This is the markup
<select data-ng-model="myItem.Category"
data-ng-options="c.Name for c in Categories"
data-ng-values="c.CategoryId for c in Categories"
data-ng-selected="myItem.Category" ></select>
asked 22 secs ago
Aucun commentaire:
Enregistrer un commentaire