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.

new options not working #1552

Closed
Closed
@yanivlllev

Description

@yanivlllev

I'm having difficulties in implementing the new options for ui-select (ui select no choice / ui select header and footer) - i don't see any changes in the behavior and in the view... except weird lines (attaching a screenshot)

screen

i also tried to use your existing plunker here with the updated js and css CDN files - it's not working there as well.
am i missing something?

This is my ui-select html:

<ui-select ng-model="project" tagging-label="false" tagging="projectTagTransform" 
     on-select="uiselectProject($item,$model)" required="required" select-tag-on-blur>

    <ui-select-match placeholder="Choose existing or create new">
        <div ng-bind-html="$select.selected.name | highlight: $select.search"></div>
    </ui-select-match>

    <ui-select-header>
        Top of the list!
    </ui-select-header>

    <ui-select-choices repeat="project in projects | filter: {name: $select.search} ">
        <div ng-bind-html="project.name  | highlight: $select.search"></div>
    </ui-select-choices>

    <ui-select-no-choice>
        This is my no choice!
    </ui-select-no-choice>

</ui-select>

version:
angular: "version": "1.4.9"
ui-select: "version": "0.16.1"

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