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

Add clear button directive #5059

Closed
mhartington opened this issue Jan 18, 2016 · 3 comments
Closed

Add clear button directive #5059

mhartington opened this issue Jan 18, 2016 · 3 comments
Assignees
Milestone

Comments

@mhartington
Copy link
Contributor

From @brandyscarney on November 18, 2015 23:56

The searchbar has a clear button that shows when the user types, we could make a directive for this so the user could specify it within an ion-input and then it would automatically add the clear icon and clear the text when clicked.

screen shot 2015-11-18 at 6 54 48 pm
screen shot 2015-11-18 at 6 56 32 pm

Copied from original issue: driftyco/ionic2#586

@brandyscarney
Copy link
Member

Exists as clearInput, issue created to fix the fact that the input can't be focused to click it: #6514

@msprasad9
Copy link

msprasad9 commented Mar 17, 2017

clearInput is working on Android devices. But On iPhone 6 with ios version 10.2.1 not clearing the text on clear button click. @mhartington @brandyscarney

@ionitron-bot
Copy link

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

3 participants