Interface HasClientValidation

All Superinterfaces:
Serializable

@Deprecated public interface HasClientValidation extends Serializable
Deprecated.
Since 24.6, this interface is no longer supported. Consider HasValidation or HasValidator as an alternative.
Mixin interface for subscribing to the client-side `validated` event from a component.
  • 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 to ValidationStatusChangeEvent 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.