Configuration
Below is a list of available configuration with default values:
"example" => [
"type" => "anomaly.field_type.repeater",
"config" => [
"related" => null,
"max" => null,
"min" => null,
"add_row" => "anomaly.field_type.repeater::button.add_row",
]
]
Configuration
Key | Example | Description |
---|---|---|
related | `\Anomaly\RepeatersModule\Example\ExampleModel::class` | The related repeater model or stream dot notation (`namespace.stream`). |
max | 5 | The maximum items allowed. |
min | 2 | The minimum items allowed. |
add_row | module::button.add_example | The translatable text for the "add row" button. |