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

new options not working #1552

Closed
yanivlllev opened this issue Apr 4, 2016 · 1 comment
Closed

new options not working #1552

yanivlllev opened this issue Apr 4, 2016 · 1 comment

Comments

@yanivlllev
Copy link

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"

@user378230
Copy link
Contributor

Neither feature is available in v0.16.1 please see CHANGELOG.md for latest changes.

ui-select-no-choice: #1011 merged into master not yet released
ui-select-header/footer: #1323 not yet accepted/merged

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

2 participants