committed by
GitHub
parent
ba1cde4e01
commit
c55d1f912f
@ -24,6 +24,7 @@ For common options, see [Common widget options](/docs/widgets#common-widget-opti
|
||||
|
||||
## Example
|
||||
|
||||
<CodeTabs>
|
||||
```yaml
|
||||
name: 'puppies'
|
||||
label: 'Puppy Count'
|
||||
@ -34,3 +35,16 @@ min: 1
|
||||
max: 101
|
||||
step: 2
|
||||
```
|
||||
|
||||
```js
|
||||
name: 'puppies',
|
||||
label: 'Puppy Count',
|
||||
widget: 'number',
|
||||
default: 2,
|
||||
value_type: 'int',
|
||||
min: 1,
|
||||
max: 101,
|
||||
step: 2,
|
||||
```
|
||||
|
||||
</CodeTabs>
|
||||
|
Reference in New Issue
Block a user