mirror of
https://github.com/lowdefy/lowdefy.git
synced 2025-04-18 15:50:27 +08:00
docs: Fix color selector docs
This commit is contained in:
parent
20702367ca
commit
15a3565082
@ -54,13 +54,19 @@
|
||||
"#AB149E"
|
||||
],
|
||||
"items": {
|
||||
"type": "string"
|
||||
"type": "string",
|
||||
"docs": {
|
||||
"displayType": "color"
|
||||
}
|
||||
}
|
||||
},
|
||||
"defaultColor": {
|
||||
"type": "string",
|
||||
"default": "#000000",
|
||||
"description": "Default color to display if input value is null."
|
||||
"description": "Default color to display if input value is null.",
|
||||
"docs": {
|
||||
"displayType": "color"
|
||||
}
|
||||
},
|
||||
"inputStyle": {
|
||||
"type": "object",
|
||||
|
@ -34,13 +34,19 @@
|
||||
"#D4C4FB"
|
||||
],
|
||||
"items": {
|
||||
"type": "string"
|
||||
"type": "string",
|
||||
"docs": {
|
||||
"displayType": "color"
|
||||
}
|
||||
}
|
||||
},
|
||||
"defaultColor": {
|
||||
"type": "string",
|
||||
"default": "#000000",
|
||||
"description": "Default color to display if input value is null."
|
||||
"description": "Default color to display if input value is null.",
|
||||
"docs": {
|
||||
"displayType": "color"
|
||||
}
|
||||
},
|
||||
"inputStyle": {
|
||||
"type": "object",
|
||||
|
@ -23,7 +23,7 @@ _ref:
|
||||
path: ../blocks/blocksAntd/src/blocks/AutoComplete/AutoComplete.json
|
||||
init_property_values:
|
||||
options:
|
||||
- one
|
||||
- one
|
||||
- two
|
||||
description_content: |
|
||||
The AutoComplete block is a text input that has a list of suggestions for the user. These suggestions are filtered as the user fills in the input. The user is also allowed to fill in an input not part of that list.
|
||||
|
@ -40,9 +40,9 @@ events:
|
||||
- id: init_property_values
|
||||
type: SetState
|
||||
skip:
|
||||
_if_none:
|
||||
_eq:
|
||||
- _var: init_property_values
|
||||
- true
|
||||
- null
|
||||
params:
|
||||
block:
|
||||
properties:
|
||||
@ -50,9 +50,9 @@ events:
|
||||
- id: init_state_values
|
||||
type: SetState
|
||||
skip:
|
||||
_if_none:
|
||||
_eq:
|
||||
- _var: init_state_values
|
||||
- true
|
||||
- null
|
||||
params:
|
||||
_var: init_state_values
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user