Commit 8b50f7c8 authored by PDuarte's avatar PDuarte

fix empty textual

parent f90344cb
...@@ -28,7 +28,8 @@ const Tables = () => { ...@@ -28,7 +28,8 @@ const Tables = () => {
title: values.title, title: values.title,
parentid: values.parentid, parentid: values.parentid,
parenttype: values.parenttype, parenttype: values.parenttype,
external_id: values.external_id external_id: values.external_id,
textual: values.textual
} }
) )
) )
...@@ -55,7 +56,8 @@ const Tables = () => { ...@@ -55,7 +56,8 @@ const Tables = () => {
title: '', title: '',
parentid: null, parentid: null,
parenttype: null, parenttype: null,
external_id: '' external_id: '',
textual: []
}} }}
onSubmitHandler={onSubmitHandler} onSubmitHandler={onSubmitHandler}
/> />
......
...@@ -96,6 +96,7 @@ const TextualBlock = ({dataElement, handleTextualChange}) => { ...@@ -96,6 +96,7 @@ const TextualBlock = ({dataElement, handleTextualChange}) => {
title: '' title: ''
} }
] ]
dataElement.push(textuals[0])
} }
return <PlanLang return <PlanLang
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment