angular-ui / bootstrap

PLEASE READ THE PROJECT STATUS BELOW. Native AngularJS (Angular) directives for Bootstrap. Smaller footprint (20kB gzipped), no 3rd party JS dependencies (jQuery, bootstrap JS) required. Please read the README.md file before submitting an issue!
http://angular-ui.github.io/bootstrap/
MIT License
14.29k stars 6.73k forks source link

typeahead and numbers without ngSanitize #6468

Open pvanlaere opened 7 years ago

pvanlaere commented 7 years ago

Bug description:

Drop down options are not rendered correctly (+ exception in console) when a typeahead control is fed with number values instead of string values. This does not occur when including angular-sanitize

Link to minimally-working plunker that reproduces the issue:

https://plnkr.co/edit/GIaY4FC4u7FBevk1iTmK?p=preview

Steps to reproduce the issue:

image

Version of Angular, UIBS, and Bootstrap

Angular: 1.5.9 UIBS: 2.4.0 Bootstrap: 3.3.7