Skip to main content
Version: 2.0.0

Repeat

Field

You can use a repeat field when you want to save multiple values in a property. For example, you may want to save multiple pieces of text, like tags.

Please note that if you use an array property which uses an of prop, the resulting field may be one of the specialized ones (such as select, file upload or reference field). The repeat field will be used in the rest of cases.

This fields allows reordering of its entries.

This component can be expanded or collapsed by default.

import { buildProperty } from "firecms";

buildProperty({
dataType: "array",
name: "Tags",
of: {
dataType: "string",
previewAsTag: true
},
expanded: true
});

The data type is array.

Internally the component used is RepeatFieldBinding.

Enterprise or start-up?

Learn how to get the most out of your project with the help of our consulting team.
Learn more
Sign up to our newsletter to get the latest news and updates. No spam!