Skip to content
masterclass Buddy

Conform · Pipe

field.maxLength

field.maxLength exposes a field's maximum-length constraint. Use it as the native HTML maxLength attribute or let getInputProps apply related attributes.

Last updated

Syntax

fields.<field>.maxLength

In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.

Subscribe
  • useForm
  • getZodConstraint
  • getInputProps
  • minLength
  • required
  • pattern

Source: Conform / Accessibility. Checked 2026-11-03.