-
Notifications
You must be signed in to change notification settings - Fork 13.5k
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
disabled inputs with a formControlName are still focusable #10155
Milestone
Comments
I think the solution to this should be adding a class to the
|
Note to self: pass |
brandyscarney
added a commit
that referenced
this issue
Jan 27, 2017
Adds the disabled attribute to the parent input/textarea, also fixes where disabled textareas were focusable regardless of where disabled was set fixes #10155
jgw96
pushed a commit
that referenced
this issue
Jan 27, 2017
Adds the disabled attribute to the parent input/textarea, also fixes where disabled textareas were focusable regardless of where disabled was set fixes #10155
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Ionic version: (check one with "x")
[ ] 1.x
[x ] 2.x
I'm submitting a ... (check one with "x")
[x ] bug report
[ ] feature request
[ ] support request => Please do not submit support requests here, use one of these channels: https://forum.ionicframework.com/ or http://ionicworldwide.herokuapp.com/
Current behavior:
On this e2e http://localhost:8000/dist/e2e/input/form-inputs/ if you tap a disabled input the input will act like it is focused (will cause the page to scroll) even though its disabled. The reason for this is that when disabling with angular forms the
ion-input
does not get the disabled attribute so our css which targets using the disabled attribute does not get applied.Steps to reproduce:
The text was updated successfully, but these errors were encountered: