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

DatePicker - Validation does not change border color #2639

Closed
paulosdfigueiredo opened this issue Jul 15, 2021 · 0 comments
Closed

DatePicker - Validation does not change border color #2639

paulosdfigueiredo opened this issue Jul 15, 2021 · 0 comments
Labels
Type: Bug 🐞 Something isn't working
Milestone

Comments

@paulosdfigueiredo
Copy link
Contributor

Describe the bug
New component DatePicker does not update border color based on the current validation status.
"is-invalid" and "is-valid" classes are added to the wrong input element.

I'm using bootstrap.

To Reproduce
Steps to reproduce the behavior:

  1. Go to Demo
  2. Go to Validations Page
  3. Replace DateEdit by DatePicker
  4. Force validation

Expected behavior
Expected the border to be red, because Date is required as we can see by the feedback message.

image

The problem is that is-invalid is added to the hidden input instead of the correct one.
image

@stsrki stsrki added the Type: Bug 🐞 Something isn't working label Jul 15, 2021
@stsrki stsrki added this to the 0.9.4 milestone Jul 15, 2021
This was referenced Jul 16, 2021
@stsrki stsrki closed this as completed Jul 16, 2021
@stsrki stsrki moved this to ✔ Done in Development Jul 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug 🐞 Something isn't working
Projects
Archived in project
Development

No branches or pull requests

2 participants