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.

on focus not working for first click #1253

Closed
@ramprakash-ravi

Description

@ramprakash-ravi

When ui-select is loaded in the page for the first time, it is disabled by default.
But after focusing on other input boxes and focusing on the ui-select it is working as expected.

My HTML:

<ui-select multiple ng-model="newMachine.machine_devices"> <ui-select-match> {{$item.Esn}} </ui-select-match> <ui-select-choices repeat="device in devices | filter:$select.search"> {{device.Esn}} </ui-select-choices> </ui-select>

js:
$scope.devices = [{DeviceID:1,Esn:'SCE112514000145182'},{DeviceID:2,Esn:'SCE112514000145185'}]

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