lmc-eu / ngx-library

[INACTIVE] Extension library for AngularJS projects
MIT License
72 stars 20 forks source link

bug in timeInput autocomplete by focus event #40

Closed rokerkony closed 11 years ago

rokerkony commented 11 years ago

https://github.com/lmc-eu/ngx-library/blob/master/src/modules/ui/timeInput/timeInput.js#L40

if element.val() is not from values (00:15, ..., 03:30, ...) autocomplete will not show

rokerkony commented 11 years ago

can be resolved by ($.inArray(element.val(), values) === -1) ? '' : element.val()