This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
Angular Select select as label for value in array syntax broken for nullable #7605
Closed
Description
select as label for value in array
shows an empty box if we drive the nullable from the model
For example for model
$scope.colors = [
{name:'nothing', shade:null},
{name:'red', shade:'dark'}
];
compare good version (color.name for color in colors
)
with bad version (color.shade as color.name for color in colors
)
Sample : http://plnkr.co/edit/MLgOTj9tjd9HF56Jm5RU?p=preview