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

[Ionic v4] Clear button works on input even though readonly is set #15002

Closed
Vlaai opened this issue Aug 2, 2018 · 1 comment
Closed

[Ionic v4] Clear button works on input even though readonly is set #15002

Vlaai opened this issue Aug 2, 2018 · 1 comment
Assignees

Comments

@Vlaai
Copy link

Vlaai commented Aug 2, 2018

Bug Report

Ionic Info

ionic (Ionic CLI)          : 4.0.3
   Ionic Framework            : @ionic/angular 4.0.0-beta.0
   @angular-devkit/core       : 0.7.0-rc.3
   @angular-devkit/schematics : 0.7.0-rc.3
   @angular/cli               : 6.0.8
   @ionic/ng-toolkit          : 1.0.0
   @ionic/schematics-angular  : 1.0.1

System:

   NodeJS : v8.11.1
   npm    : 5.6.0
   OS     : macOS High Sierra

Describe the Bug
The clear button (x-icon) is available and working on on ion-input, even though the readonly property is set.

Steps to Reproduce

<ion-input type="text"
                   clearInput="true"
                   readonly="true"
                   value="stuff"></ion-input>

Expected Behavior
The clear button shouldn't be available, even though the clearinput property is set.

@ionitron-bot ionitron-bot bot added triage and removed triage labels Aug 2, 2018
@manucorporat manucorporat self-assigned this Aug 2, 2018
@ionitron-bot
Copy link

ionitron-bot bot commented Sep 2, 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 2, 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

2 participants