• Overview
@angular/forms/signals

maxLengthError

function

API

Create a maxLength error associated with the target field

@parammaxLengthnumber

The maxLength constraint

@paramoptionsWithFieldTree<ValidationErrorOptions>

The validation error options

Create a maxLength error

@parammaxLengthnumber

The maxLength constraint

@paramoptionsValidationErrorOptions | undefined

The optional validation error options

Jump to details