Interface HasAutocorrect

    • Method Summary

      All Methods Instance Methods Default 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.
      • Methods inherited from interface com.vaadin.flow.component.HasElement

        getElement
    • 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