Repeater fields
Repeater fields allow editors to dynamically add or remove multiple values for the same input field. Instead of defining a fixed number of fields, a repeater lets users create as many entries as needed directly in the form interface.
This example demonstrates how to implement repeater fields. By following this pattern, your app can:
- Dynamically render and manage input fields.
- Save and restore repeating values via appData.
- Keep the first field static while allowing additional fields to be removed.
Once added repeated fields may be accessed using appData.
For an additional example containing initialization of Sitevision components dynamically, check our github.