-
Notifications
You must be signed in to change notification settings - Fork 66
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
Use ion-input clear function #628
Comments
The default clear functionality of ion-input simply clears the field, leaving it blank. However, in this case, the desired behavior is to reset inputCount to 0 rather than leaving it empty. Therefore, the default ion-input clear function was not used. |
Is it possible to alter the function of the default clear button instead? That way the UI would be cleaner |
It is possible to override the default behavior of the ion-input clear button, but it requires additional handling, as detailed below:
|
Why not use default ion-input clear function? is it because we need to set the value to 0?
inventory-count/src/views/CountDetail.vue
Lines 118 to 120 in 37a0e2e
The text was updated successfully, but these errors were encountered: