Repeater

A dynamic list of form rows.

Name
Email

Multiple fields

Name
Email

With max

Name
Email

API reference

Inputs

PropTypeDefaultDescription
fieldsreadonly RepeaterField[][]Column definitions rendered for every row.
minnumber1Minimum number of rows that must remain (remove is disabled at this count).
maxnumber | nullnullMaximum number of rows allowed, or null for unlimited.
addLabelstring'Add row'Text shown on the add-row button.
removeLabelstringAccessible label override for the remove-row buttons.

Two-way models

Bind with [(name)], or one-way as an input.

PropTypeDefaultDescription
rowsRecord<string, string>[][]Row data keyed by field key. Two-way bindable with `[(rows)]`.

Types

RepeaterField

FieldTypeDescription
keystringProperty name used to store this field's value in each row.
labelstringColumn header shown above the field.
placeholder?stringPlaceholder text for the field's input.
type?stringInput type attribute (e.g. text, email, number).

Every ng-blatui component also accepts a class input to merge extra Tailwind classes onto the host.