-
Notifications
You must be signed in to change notification settings - Fork 13.4k
Closed
Labels
package: core@ionic/core package@ionic/core packagetype: buga confirmed bug reporta confirmed bug report
Description
Prerequisites
- I have read the Contributing Guidelines.
- I agree to follow the Code of Conduct.
- 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..
Steps to Reproduce
- Go to https://ionicframework.com/docs/api/input#clear-options
- Activate the text input which has clearOnEdit activated
- tab change into the following input
- Shift-Tab into the previous input, which results in the input with clearOnEdit option activated and it has already text
- Tab again to change into the next input
- ... the input clears..
Code Reproduction URL
https://ionicframework.com/docs/api/input#clear-options
Ionic Info
Latest.. Test based on ionic Docs
Additional Information
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
package: core@ionic/core package@ionic/core packagetype: buga confirmed bug reporta confirmed bug report