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 ui-select placeholder not working when ng-model is initalized from the server (config.actions in this case) #1185

@anatlerner

Description

@anatlerner
<div ng-repeat="action in config.actions track by $index" class="action-select">
                        <ui-select
                            reset-search-input
                            ng-model="action"
                            theme="bootstrap"
                            on-select = "selectAction($item,$model)"
                            ng-disabled="disabled">
                            <ui-select-match placeholder="choose an action">{{$select.selected.name}}</ui-select-match>
                            <ui-select-choices  repeat="item in items | filter:$select.search">
                                    {{item.name}}
                            </ui-select-choices>
                        </ui-select>

        </div>

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