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

Interface HasAutocorrect

    • Method Summary

      All Methods
      Modifier and Type Method Description
      default boolean isAutocorrect()

      Checks if the field has autocorrect enabled.

      default void setAutocorrect​(boolean autocorrect)

      Enable or disable autocorrect for the field.

    • Method Detail

      • setAutocorrect

        default void setAutocorrect​(boolean autocorrect)

        Enable or disable autocorrect for the field.

        If not set, devices may apply their own defaults.

        Note: This only supported by Safari.

        Parameters:

        autocorrect - true to enable autocorrect, false to disable

      • isAutocorrect

        default boolean isAutocorrect()

        Checks if the field has autocorrect enabled.

        Returns:

        true if the field has autocorrect enabled