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

fix: validate date-time-picker when required is set to false #7908

Merged
merged 1 commit into from
Oct 2, 2024

Conversation

web-padawan
Copy link
Member

Description

Fixes #7906

Similar to the fix for vaadin-select previously implemented in #4201 - vaadin-date-time-picker also doesn't use InputConstraintsMixin and therefore needs to call validate() when setting required to false.

Type of change

  • Bugfix

Copy link

sonarqubecloud bot commented Oct 2, 2024

@web-padawan web-padawan merged commit 52ff125 into main Oct 2, 2024
9 checks passed
@web-padawan web-padawan deleted the fix/dtp-validate-on-required-change branch October 2, 2024 11:08
web-padawan added a commit that referenced this pull request Oct 2, 2024
…7913)

Co-authored-by: Serhii Kulykov <iamkulykov@gmail.com>
web-padawan added a commit that referenced this pull request Oct 2, 2024
…7914)

Co-authored-by: Serhii Kulykov <iamkulykov@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[date-time-picker] Invalid state not reset when setting required property to false
3 participants