We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
com.vaadin.flow.component.shared.
Package com.vaadin.flow.component.shared
Interface HasClientValidation
All Superinterfaces:
All Known Implementing Classes:
AbstractNumberField
, BigDecimalField
, Checkbox
, CheckboxGroup
, ComboBox
, ComboBoxBase
, DatePicker
, DateTimePicker
, EmailField
, IntegerField
, MultiSelectComboBox
, NumberField
, PasswordField
, RadioButtonGroup
, Select
, TextArea
, TextField
, TextFieldBase
, TimePicker
Deprecated.
Mixin interface for subscribing to the client-side `validated` event from a component.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic class
Deprecated.
Since 24.6, this event is no longer supported. -
Method Summary
Modifier and TypeMethodDescriptiondefault Registration
addClientValidatedEventListener
(ComponentEventListener<HasClientValidation.ClientValidatedEvent> listener) Deprecated.
Since 24.6, this event is no longer supported.
-
Method Details
-
addClientValidatedEventListener
@Deprecated default Registration addClientValidatedEventListener(ComponentEventListener<HasClientValidation.ClientValidatedEvent> listener) Deprecated.Since 24.6, this event is no longer supported. Consider subscribing toValidationStatusChangeEvent
to get notified when the user enters input that cannot be parsed.Adds a listener for the
validated
event fired by the web component whenever it is validated on the client-side.Parameters:
listener
- the listener, not null.Returns:
a
Registration
for removing the event listener.
-
HasValidation
orHasValidator
as an alternative.