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.

Focus on input when clicking label-tag with for attribute only works for multiple #1912

Open
@gabbsmo

Description

@gabbsmo

Bug description:

According PR #1220 I can specify the input-id attribute on ui-select and that attribute value will be reflected in the input tag's id attribute. This logic itself works but focusing does not in Google Chrome at least.

When I click the label I expect the cursor to be moved inside the input field.

Link to minimally-working plunker that reproduces the issue:

Multiple select (works)
Single select (doesn't work)
Plain html (Clicking label sets focus to select box and I can use keyboard to select value)

Version of Angular, UI-Select, and Bootstrap/Select2/Selectize CSS

Angular: 1.5
UI-Select: 0.19.5

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