Skip to content
This repository was archived by the owner on Oct 2, 2019. It is now read-only.
This repository was 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

Description

@ksprs

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions