You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
bug: clearOnEdit should not clear input when tabbing to next input #27746
I have searched for existing issues that already report this problem, without success.
Ionic Framework Version
v7.x
Current Behavior
The clearOnEdit option of ion-input is supposed to clear the content of the ion-input when a new character is entered
If filling a form with the keyboard, if you tab into an input which has contents and then you tab into another input, the input clears, which i think is not what's expected?
Expected Behavior
The input should not be erased if the input "entered" is the tab key..
changed the title [-]bug: clearOnEdit (ion-input) identifies TAB as edit[/-][+]bug: clearOnEdit should not clear input when tabbing to next input[/+]on Jul 5, 2023
Thanks for the issue. This has been resolved via #28005, and a fix will be available in an upcoming release of Ionic Framework. Feel free to keep testing the dev build, and let me know if you have any questions.
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.
Activity
[-]bug: clearOnEdit (ion-input) identifies TAB as edit[/-][+]bug: clearOnEdit should not clear input when tabbing to next input[/+]liamdebeasi commentedon Aug 16, 2023
Thanks for the report. Here is a dev build with a proposed fix if you are interested in testing:
7.3.1-dev.11692202566.13cd16c4Install Example:
npm install @ionic/[email protected]fix(input, textarea): clearOnEdit does not clear when pressing Tab (#…
liamdebeasi commentedon Aug 18, 2023
Thanks for the issue. This has been resolved via #28005, and a fix will be available in an upcoming release of Ionic Framework. Feel free to keep testing the dev build, and let me know if you have any questions.
ionitron-bot commentedon Sep 17, 2023
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.