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

VaInput. isValid is not working with prop 'clearable' #4473

Open
EugenGedroyc opened this issue Feb 6, 2025 · 0 comments
Open

VaInput. isValid is not working with prop 'clearable' #4473

EugenGedroyc opened this issue Feb 6, 2025 · 0 comments
Labels
BUG Something isn't working

Comments

@EugenGedroyc
Copy link
Contributor

Vuestic-ui version: 1.10.3

  • What is current behaviour
    isValid for useForm does not check that a VaInput is not fill if that VaInput has been cleared using the clearable button
    :rules="[ (value) => (value && value.length > 0) || 'Fill in the text box', ]"

  • What is expected behaviour
    isValid should always return false if VaInput is empty. Now this behavior with VaInput cleared only manually.

  • Any other useful information
    I think these are related issues:: VaInput: immediate-validation not work with clearable #3871

@EugenGedroyc EugenGedroyc added the BUG Something isn't working label Feb 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
BUG Something isn't working
Projects
Status: Backlog
Development

No branches or pull requests

1 participant