Skip to main content
.autocorrectionDisabled(isDisabled?: boolean): Component;

Parameters

isDisabled
boolean
Whether autocorrection should be disabled. When true, prevents automatic text correction. Defaults to true if not provided.

Support

Usage

Text field

const [username, setUsername] = useState("")

TextField({ placeholder: "Username", text: username, setText: setUsername })
    .autocorrectionDisabled() // Prevent autocorrection of usernames