You're viewing an older version of Vaadin JavaDoc. Please see version 24.7.0 for the latest.
com.vaadin.flow.component.shared.

Class HasClientValidation.ClientValidatedEvent

    • Constructor Detail

      • ClientValidatedEvent

        public ClientValidatedEvent​(Component source,
                                    boolean fromClient,
                                    @EventData("event.detail.valid")
                                    boolean valid)

        Creates a new event using the given source.

        Parameters:

        source - the source component.

        fromClient - true if the event originated from the client side, false otherwise

        valid - whether the client-side validation succeeded.

    • Method Detail

      • isValid

        public Boolean isValid()

        Returns true if the client-side validation succeeded and false otherwise.

        Returns:

        whether the client-side validation succeeded.