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.

Selecting an item not in the list #1409

Open
@tharrington

Description

@tharrington

how can i select (or add) an item that is not in the list? I.e. when a user starts typing and filters to the point where there isnt a match, an option to create a new entry appears.

 <ui-select ng-model="order.email" theme="bootstrap">
      <ui-select-match placeholder="Search by email...">{{order.email}}</ui-select-match>
      <ui-select-choices repeat="item in customers | filter: $select.search">
        <div ng-bind-html="item.email | highlight: $select.search"></div>
      </ui-select-choices>
    </ui-select>

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions