Closed SERGEES closed 5 years ago
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
still an issue
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
I have array for typeahead:
$scope.icons = [ {value: 'idGear', label: 'Gear'}, {value: 'idGlobe', label: 'Globe'}, {value: 'oidHeart', label: 'Heart'}, {value: 'camera', label: 'Camera'} ];
and want to filter array on label so I added:bs-options="icon.value as icon.label for icon in icons|filter:{label:$viewValue}"
but when I select first item in input I see value(idGear) but not label (Gear) It works fine for last item {value: 'camera', label: 'Camera'} if value is allmoust the same as label
here is planker with issue demonstartion http://plnkr.co/edit/blXEtsCG9RRBctkniHAW?p=preview
Thanks for any help.