com.vaadin.flow.component.textfield.

Interface HasAutocorrect

    • Method Summary

      All Methods
      Modifier and Type Method and 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