Skip to content

fix: fire change event after validate - #2519

Merged
web-padawan merged 2 commits into
masterfrom
fix/validate-change
Sep 14, 2021
Merged

web-padawan merged 2 commits into
masterfrom
fix/validate-change

Conversation

@web-padawan

Copy link
Copy Markdown
Member

Description

Updated InputConstraintsMixin which is responsible for validation to also validate on change event.
Then the change event is manually re-dispatched on the host, with a reference to the original event.

Fixes #2517

Type of change

  • Bugfix

@sonarqubecloud

Copy link
Copy Markdown

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@vaadin-bot

Copy link
Copy Markdown
Collaborator

This ticket/PR has been released with platform 22.0.0.alpha4 and is also targeting the upcoming stable 22.0.0 version.

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.

[text-field] Should validate before emitting a change

3 participants