fix: some form fields are not nullable (#2577)

This commit is contained in:
Vinh
2019-09-23 21:36:24 +00:00
committed by Wyatt Johnson
parent 37e39ff8c5
commit 4e4986fc03
17 changed files with 63 additions and 32 deletions
@@ -62,7 +62,7 @@ const MessageBoxConfig: FunctionComponent<Props> = ({ disabled }) => (
format={formatEmpty}
>
{({ input: iconInput }) => (
<Field name="messageBox.content">
<Field name="messageBox.content" parse={parseEmptyAsNull}>
{({ input: contentInput, meta }) => (
<>
<HorizontalGutter size="half" container="section">