com.vaadin.flow.component.shared.

Class ClientValidationUtil

java.lang.Object
com.vaadin.flow.component.shared.ClientValidationUtil
@Deprecated public final class ClientValidationUtil extends Object
Deprecated.
since 24.8, use getElement().setProperty("manualValidation", true) instead.

A utility class that allows preventing the web component from setting itself to valid as a result of client-side validation.

Author:

Vaadin Ltd

  • Method Details

    • preventWebComponentFromModifyingInvalidState

      @Deprecated public static <C extends Component & HasValidation> void preventWebComponentFromModifyingInvalidState(C component)
      Deprecated.
      since 24.8, use getElement().setProperty("manualValidation", true) instead.