vaadin / vaadin-text-field

The themable Web Component providing input controls. Part of the Vaadin components.
https://vaadin.com/components
Apache License 2.0
25 stars 23 forks source link

feat: fire a validated event on validation and add shouldSetInvalid method #612

Closed mukherjeesudebi closed 1 year ago

mukherjeesudebi commented 1 year ago

Description

  1. Fires a validated event when the web component's validation takes place.
  2. Adds a protected shouldSetInvalid() method. It will be used for preventing the web component from modifying the client-side invalid state on the Flow side afterward."

Fixes # (issue)

Type of change

Checklist

Additional for Feature type of change

CLAassistant commented 1 year ago

CLA assistant check
All committers have signed the CLA.