diff --git a/json/input-types.json b/json/input-types.json index 7a869f0..850ba95 100644 --- a/json/input-types.json +++ b/json/input-types.json @@ -2,7 +2,7 @@ "text": { "label": "テキスト", "subTypes": [ - { "value": "", "label": "--" }, + { "value": "text", "label": "--" }, { "value": "tel", "label": "電話" }, { "value": "number", "label": "数値" }, { "value": "email", "label": "メール" }, @@ -12,7 +12,7 @@ "textarea": { "label": "テキストエリア", "subTypes": [ - { "value": "", "label": "--" }, + { "value": "textarea", "label": "--" }, { "value": "lite-editor", "label": "ライトエディター" } ] }, diff --git a/src/components/html/Textarea.jsx b/src/components/html/Textarea.jsx index ecd6301..37cbfc6 100644 --- a/src/components/html/Textarea.jsx +++ b/src/components/html/Textarea.jsx @@ -29,6 +29,7 @@ export function Textarea(props) { {isValue ? `{${item.name}}` : ''} + )}