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

4.1.1 - clearInput doesn't clear when circle is clicked #15319

Closed
JoeOsterfeld opened this issue Aug 24, 2018 · 1 comment
Closed

4.1.1 - clearInput doesn't clear when circle is clicked #15319

JoeOsterfeld opened this issue Aug 24, 2018 · 1 comment
Assignees

Comments

@JoeOsterfeld
Copy link

Bug Report

Ionic Info

Ionic:

   ionic (Ionic CLI)          : 4.1.1 (/Users/username/.nvm/versions/node/v8.11.4/lib/node_modules/ionic)
   Ionic Framework            : @ionic/angular 4.0.0-beta.3
   @angular-devkit/core       : 0.7.4
   @angular-devkit/schematics : 0.7.4
   @angular/cli               : 6.1.4
   @ionic/ng-toolkit          : 1.0.7
   @ionic/schematics-angular  : 1.0.5

Cordova:

   cordova (Cordova CLI) : 8.0.0
   Cordova Platforms     : android 7.0.0, ios 4.5.5
   Cordova Plugins       : cordova-plugin-ionic-keyboard 2.1.2, cordova-plugin-ionic-webview 2.1.0, (and 13 other plugins)

System:

   Android SDK Tools : 26.1.1 (/Users/username/Library/Android/sdk)
   NodeJS            : v8.11.4 (/Users/username/.nvm/versions/node/v8.11.4/bin/node)
   npm               : 5.6.0
   OS                : macOS High Sierra
   Xcode             : Xcode 9.4.1 Build version 9F2000

Describe the Bug
Created a search input using the clearInput directive. When we tap the 'clear' circle with an x in it, the input's value is not cleared.

HTML:

      <ion-item>
        <ion-label><ion-icon name="search"></ion-icon></ion-label>
        <ion-input clearInput type="search" placeholder="Search Stores" (ionChange)="storeSearchText$.next($event.target.value)"></ion-input>
      </ion-item>

Steps to Reproduce

  1. Implement an Ionic Cordova app with the HTML code above.
  2. Emulate the app on an iOS emulator
  3. Start typing in the ion-input
  4. Tap the clear circle with an x

Expected Behavior
Tapping the clear circle with an x in it should clear out the value of the ion-input.

@ionitron-bot ionitron-bot bot added the triage label Aug 24, 2018
@manucorporat manucorporat self-assigned this Aug 24, 2018
@ionitron-bot ionitron-bot bot removed the triage label Aug 24, 2018
@ionitron-bot
Copy link

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