replace
Replaces a item of the field array.
replace(form, name, options);
Parameters
formFormStorenamestringoptionsobjectatnumbervalueFieldValue | FieldValues
Explanation
With at you define the index of the item to be replaced. The action will only be executed if you define a valid index.