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.

Is there a way to set minimumInputLength? #161

Closed
@mrthehud

Description

@mrthehud

I've a large dataset, and filtering to 'a' is dead slow.

I've tried:

<ui-select ui-select2="{ minimumInputLength: 2}" ng-model="config.name">...</ui-select>
and 
<select ui-select="{ minimumInputLength: 2}" ng-model="config.name">...</select>
and
<ui-select ng-model="config.name" minimumInputLength="2">
angular.module('App', ['ui.select']).config(function(uiSelectConfig) {
    uiSelectConfig.minimumInputLength = 2;
})

to no avail. All searches begin on first character.

Have I missed something?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions