ui-select icon indicating copy to clipboard operation
ui-select copied to clipboard

Angular parses selectize/choices.tpl.html template with syntax error

Open ksprs opened this issue 7 years ago • 0 comments
trafficstars

Wanted to let you know that there is a bug in selectize/choices.tpl.html template, which causes ui-select-choices element to be visible when page is initialized. I noticed this when I set my ui-select-choices element as absolute. Also console output "complained" about some template pares issue.

The problem is in selectize/choices.tpl.html template: ng-show=\"$select.open\" It should be ng-show=\" || $select.open\", as code adds $select.search without "||". Without this change element ends up having ng-show="$select.search $select.open" and it fails due to syntax error.

Alternatively this could be changed in the code, so that $select.search is added with "||".

ksprs avatar Aug 30 '18 09:08 ksprs