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

bug: disabled attr is not being passed down from ion-input to the input element #5280

Closed
brandyscarney opened this issue Feb 1, 2016 · 6 comments
Assignees

Comments

@brandyscarney
Copy link
Member

http://localhost:8000/dist/e2e/input/fixed-inline-labels/

    <ion-item>
      <ion-label fixed>CC</ion-label>
      <ion-input disabled="true" value="Text 2"></ion-input>
    </ion-item>
@aperezbaena
Copy link

aperezbaena commented Oct 31, 2016

It works with static values but it doesn't adding disabled attribute dynamically such as:

<ion-input [disabled]="isDisabled ? '' : null">

A similar issue is open for readonly attribute.

@AbrahamLopez10
Copy link

This issue is still present on Ionic 2.0.0. When an ion-input is initially set with the [disabled]="true" attribute the disabled attribute isn't being passed down to the native input element.

@trebor678
Copy link

This is still an issue with Ionic 3.4.2

@rodrigo85
Copy link

Is there any workaround?

@ahmadalfy
Copy link

Weird that this issue is still opened

@ionitron-bot
Copy link

ionitron-bot bot commented Sep 1, 2018

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.

@ionitron-bot ionitron-bot bot locked and limited conversation to collaborators Sep 1, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants