Skip to content

Commit 66a7f72

Browse files
authored
Widgets “list”: Provides information about "min" and "max" options. (#94)
* Update Docs: Widgets “list” * Update Docs: Widgets “list” * Update Docs: Widgets “list”
1 parent 6b1fafb commit 66a7f72

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

content/docs/widgets/list.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ The list widget allows you to create a repeatable item in the UI which saves as
2020
* `label_singular`: the text to show on the add button
2121
* `field`: a single widget field to be repeated
2222
* `fields`: a nested list of multiple widget fields to be included in each repeatable iteration
23-
* `max`: maximum number of items in the list
24-
* `min`: minimum number of items in the list
23+
* `max`: maximum number of items in the list (works only if `min` is also specified)
24+
* `min`: minimum number of items in the list (works only if `max` is also specified)
2525
* `add_to_top`: when `true`, new entries will be added to the top of the list
2626
* **Example** (`field`/`fields` not specified):
2727

@@ -125,4 +125,4 @@ The list widget allows you to create a repeatable item in the UI which saves as
125125
name: "tags"
126126
widget: "list"
127127
add_to_top: true
128-
```
128+
```

0 commit comments

Comments
 (0)