removeAt

public final void removeAt(int index)

Removes the form field at the specified index. This also removes any child fields and associated widget annotations. When removing fields while iterating, iterate backwards to avoid index shifting issues.

Parameters

index

The 0-based index of the field to remove.

Throws

Thrown when index is out of range.

Thrown when the operation fails.