Skip to content

Commit 41f148e

Browse files
committed
Merge branch 'dev'
2 parents 087efa0 + e711f1c commit 41f148e

File tree

1 file changed

+11
-6
lines changed

1 file changed

+11
-6
lines changed

content/docs/content-creation/fields.md

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Fields
33
slug: content-creation/fields
44
description: null
55
date: 2022-03-14T08:42:21.626Z
6-
lastmod: 2023-11-12T12:58:00.539Z
6+
lastmod: 2023-12-01T09:24:51.920Z
77
weight: 200.2
88
---
99

@@ -88,7 +88,8 @@ content.
8888

8989
### Properties
9090

91-
The number field allows you to set the following properties:
91+
To configure the number field, you can specify the following properties in the `numberOptions`
92+
field property:
9293

9394
- `min (number)`: The minimum value for the field.
9495
- `max (number)`: The maximum value for the field.
@@ -118,9 +119,11 @@ weight: 1
118119
"title": "Weight",
119120
"name": "weight",
120121
"type": "number",
121-
"min": 1,
122-
"max": 10,
123-
"step": 1
122+
"numberOptions": {
123+
"min": 1,
124+
"max": 10,
125+
"step": 1
126+
}
124127
}
125128
```
126129

@@ -137,7 +140,9 @@ weight: 1
137140
"title": "Weight",
138141
"name": "weight",
139142
"type": "number",
140-
"isDecimal": true
143+
"numberOptions": {
144+
"isDecimal": true
145+
}
141146
}
142147
```
143148

0 commit comments

Comments
 (0)