Skip to content
This repository has been archived by the owner on Oct 2, 2019. It is now read-only.

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

Open
ksprs opened this issue Aug 30, 2018 · 0 comments
Open

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

ksprs opened this issue Aug 30, 2018 · 0 comments

Comments

@ksprs
Copy link

ksprs commented Aug 30, 2018

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 "||".

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant