Package com.vaadin.flow.component.shared
Interface HasClientValidation
- All Superinterfaces:
Serializable
Deprecated.
Mixin interface for subscribing to the client-side `validated` event from a
component.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classDeprecated.Since 24.6, this event is no longer supported. -
Method Summary
Modifier and TypeMethodDescriptiondefault com.vaadin.flow.shared.RegistrationaddClientValidatedEventListener(com.vaadin.flow.component.ComponentEventListener<HasClientValidation.ClientValidatedEvent> listener) Deprecated.Since 24.6, this event is no longer supported.
-
Method Details
-
addClientValidatedEventListener
@Deprecated default com.vaadin.flow.shared.Registration addClientValidatedEventListener(com.vaadin.flow.component.ComponentEventListener<HasClientValidation.ClientValidatedEvent> listener) Deprecated.Since 24.6, this event is no longer supported. Consider subscribing toValidationStatusChangeEventto get notified when the user enters input that cannot be parsed.Adds a listener for thevalidatedevent fired by the web component whenever it is validated on the client-side.- Parameters:
listener- the listener, not null.- Returns:
- a
Registrationfor removing the event listener.
-
HasValidationorHasValidatoras an alternative.