From c3253b0b7a0abb322572612c1d1e8bef0cc95c8e Mon Sep 17 00:00:00 2001 From: Gervwyk Date: Tue, 3 Nov 2020 12:34:50 +0200 Subject: [PATCH 1/2] fix(blocksAntd): fix label.disabled --- packages/blocksAntd/src/blocks/TextInput/TextInput.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/blocksAntd/src/blocks/TextInput/TextInput.json b/packages/blocksAntd/src/blocks/TextInput/TextInput.json index 3dc8c2ec8..19b478580 100644 --- a/packages/blocksAntd/src/blocks/TextInput/TextInput.json +++ b/packages/blocksAntd/src/blocks/TextInput/TextInput.json @@ -68,7 +68,7 @@ }, "disabled": { "type": "boolean", - "description": "Disable input label." + "description": "Hide input label." }, "hasFeedback": { "type": "boolean", From 13d8759083fae7a55bb1267da4ce560a9c14f94e Mon Sep 17 00:00:00 2001 From: Gervwyk Date: Tue, 3 Nov 2020 12:36:09 +0200 Subject: [PATCH 2/2] fix(blocksAntd): update shcema label --- .../blocksAntd/src/blocks/TextArea/TextArea.json | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/packages/blocksAntd/src/blocks/TextArea/TextArea.json b/packages/blocksAntd/src/blocks/TextArea/TextArea.json index 642c81b65..f69843a1b 100644 --- a/packages/blocksAntd/src/blocks/TextArea/TextArea.json +++ b/packages/blocksAntd/src/blocks/TextArea/TextArea.json @@ -78,21 +78,20 @@ "type": "number", "description": "Label inline span." }, - "inline": { - "type": "boolean", - "defaultValue": false, - "description": "Render input and label inline." - }, "disabled": { "type": "boolean", - "default": false, - "description": "Disable the block if true." + "description": "Hide input label." }, "hasFeedback": { "type": "boolean", "defaultValue": true, "description": "Display feedback extra from validation, this does not disable validation." }, + "inline": { + "type": "boolean", + "defaultValue": false, + "description": "Render input and label inline." + }, "extraStyle": { "type": "object", "description": "Css style to applied to label extra."