added show slider to readme

This commit is contained in:
iLLiCiTiT 2021-08-31 11:00:44 +02:00
parent 00d1ae5d43
commit 8f5254ff23

View file

@ -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`)