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

clear input multiple digits using 'back' button in keyboard #17

Open
b-asaf opened this issue Jan 11, 2018 · 3 comments
Open

clear input multiple digits using 'back' button in keyboard #17

b-asaf opened this issue Jan 11, 2018 · 3 comments

Comments

@b-asaf
Copy link
Contributor

b-asaf commented Jan 11, 2018

Hi @lotosbin ,

currently I can only delete/clear only one digit, the one that is currently with the focus.
Is it possible to add the option to delete/clear all of the entered digits one by one, using the back/clear key in the keyboard?

Thanks

@lotosbin
Copy link
Owner

@assafb81 this feature depends on the onKeyPress event, but onKeyPress is only worked on ios now.

@lotosbin
Copy link
Owner

@b-asaf
Copy link
Contributor Author

b-asaf commented Jan 12, 2018

thanks @lotosbin,
why not use 'onKeyUp' or 'onKeydown' events for Android - as its written in Handling Keyboard Actions?

@lotosbin , do you think this can be done using one of the events above?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants