Skip to content
This repository was archived by the owner on Oct 2, 2019. It is now read-only.

Fix label for input #238

Closed
wants to merge 8 commits into from
Closed

Conversation

georeith
Copy link
Contributor

Fixes #236

George Reith and others added 8 commits September 26, 2014 16:59
…of the input's id to create labels that will focus the select
This rolls back to commit 8d15d3e.
Added the `input-id` attribute to the `ui-select` directive to add an
id to the input element so that external label elements can be attached
to it.
This rolls back to commit 36ee169.
Added the `input-id` attribute to the `ui-select` directive to add an
id to the input element so that external label elements can be attached
to it.
@dimirc
Copy link
Contributor

dimirc commented Oct 8, 2014

@georeith can you clean this PR and remove all /dist files?

@dmitry-dedukhin
Copy link

Hi.
I have the same issue, could you please update it?

@aaronroberson
Copy link
Contributor

@georeith Can you confirm that #1220 has resolved issue #236 and close this PR?

@juusopimia
Copy link

Hi,

I can't get external "label for" to work, tried with 0.14.1 (should have the fix merged in as far as I can tell).

What I see with debugger is that id value is correctly placed for the search input field, but because it has "display: none" initially, clicking the label does not change focus to input.

Example Plunkr: http://plnkr.co/edit/u8dIsIuy4L90sMNYUfud?p=preview

Any suggestions?

@wesleycho
Copy link
Contributor

Closing due to history being broken (there should be no merge or revert commits), and this being significantly outdated.

Feel free to open a new PR with issues addressed re-implementing everything desired.

@wesleycho wesleycho closed this Mar 26, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

No id on input means it can't be attached to a label
6 participants