Open NithinBiliya opened 7 years ago
single select - button text is not mapped correctly to the model value
Object -
$scope.fruits = [ {id: 1, name: 'Apple'}, {id: 2, name: 'Orange'}, {id: 3, name: 'Banana'} ];
option string is - "c.id as c.name for c in fruits"
"c.id as c.name for c in fruits"
Plnkr link - link1
Select "Orange" in 2nd dropdown. The model value is set correctly to 2, but the button text is set to "Banana"
single select - button text is not mapped correctly to the model value
Object -
option string is -
"c.id as c.name for c in fruits"
Plnkr link - link1
Select "Orange" in 2nd dropdown. The model value is set correctly to 2, but the button text is set to "Banana"