Skip to content

Commit

Permalink
document repeater disableCreate, disableActions and disableReorder
Browse files Browse the repository at this point in the history
  • Loading branch information
13twelve committed Jan 14, 2025
1 parent 757f7ff commit 9908a99
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions docs/content/1_docs/4_form-fields/11_repeater.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,15 @@ Repeater::make()
:::#tab:::
:::#tabs:::

| Option | Description | Type | Default value |
|:-------------|:---------------------------------------------|:--------|:-----------------|
| type | Type of repeater items | string | |
| name | Name of the field | string | same as `type` |
| max | Maximum amount that can be created | number | null (unlimited) |
| buttonAsLink | Displays the `Add` button as a centered link | boolean | false |
| reorder | Allow reordering of repeater items | boolean | true |
| Option | Description | Type | Default value |
|:---------------|:---------------------------------------------|:--------|:-----------------|
| type | Type of repeater items | string | |
| name | Name of the field | string | same as `type` |
| max | Maximum amount that can be created | number | null (unlimited) |
| buttonAsLink | Displays the `Add` button as a centered link | boolean | false |
| disableCreate | Disables ability to add new items | boolean | false |
| disableActions | Removes row item actions | boolean | false |
| disableReorder | Disables reordering of repeater items | boolean | false |

<br/>

Expand Down

0 comments on commit 9908a99

Please sign in to comment.