typedef FieldCollectionOptions
package shared.component.field
import shared.component.field.FieldCollection
You can use FieldCollections when you have multiple items with the same data.
{
"key": "items",
"label": "Items",
"type": "FieldCollection",
"options": {
"components": [
{
"key": "image",
"label": "Image",
"type": "Link",
"options": {
"type": "image"
}
},
{
"key": "title",
"label": "Title",
"type": "Text"
}
]
}
}Properties
help:Null<Dynamic>
Adding help or instructional text to a field.
"help": "This field can only contain letters."show_when:Null<EitherType<ShowOptions, Array<ShowOptions>>>
The "value" can be set to "null" of "!null" to check if something is empty.