镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
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

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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