mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-26 13:52:15 +01:00
added show slider to readme
This commit is contained in:
parent
00d1ae5d43
commit
8f5254ff23
1 changed files with 13 additions and 0 deletions
|
|
@ -300,6 +300,7 @@ How output of the schema could look like on save:
|
|||
- key `"decimal"` defines how many decimal places will be used, 0 is for integer input (Default: `0`)
|
||||
- key `"minimum"` as minimum allowed number to enter (Default: `-99999`)
|
||||
- key `"maxium"` as maximum allowed number to enter (Default: `99999`)
|
||||
- for UI it is possible to show slider to enable this option set `show_slider` to `true`
|
||||
```
|
||||
{
|
||||
"type": "number",
|
||||
|
|
@ -311,6 +312,18 @@ How output of the schema could look like on save:
|
|||
}
|
||||
```
|
||||
|
||||
```
|
||||
{
|
||||
"type": "number",
|
||||
"key": "ratio",
|
||||
"label": "Ratio"
|
||||
"decimal": 3,
|
||||
"minimum": 0,
|
||||
"maximum": 1,
|
||||
"show_slider": true
|
||||
}
|
||||
```
|
||||
|
||||
### text
|
||||
- simple text input
|
||||
- key `"multiline"` allows to enter multiple lines of text (Default: `False`)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue