mirror of
https://github.com/wassname/talk.git
synced 2026-08-12 12:30:39 +08:00
fix: some form fields are not nullable (#2577)
This commit is contained in:
+1
-1
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user