Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NumberField inside a <label> #48

Open
simurai opened this issue Oct 30, 2013 · 2 comments
Open

NumberField inside a <label> #48

simurai opened this issue Oct 30, 2013 · 2 comments
Labels
Milestone

Comments

@simurai
Copy link
Contributor

simurai commented Oct 30, 2013

When a NumberField is used inside a <label> element, then you can't click inside the input. It gets immediately de-selected. Plus/minus buttons still work.

See test MFiddle: http://montagejs.github.io/mfiddle/#!/7229077

I guess it has something to do that <label>s select checkbox or radio when inside?

@asolove
Copy link
Contributor

asolove commented Oct 30, 2013

It should just need to stopPropagation on the event that focuses the text input.

@mikokim
Copy link

mikokim commented Nov 1, 2013

Would be really nice to get this fixed; using numberfields inside is very common and people would expect it to work.

@hthetiot hthetiot added this to the 3.0.x milestone Jun 17, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants