property TextFieldProps.maxLength

Stops the typing at this length, through the input's own maxLength. Unlike RichTextField's, it adds no rule, so a value set from code isn't checked.

Type

number

Usage

import { type TextFieldProps } from "src/components/form/TextField.tsx";