Skip to content

Commit

Permalink
Rm noStyle test
Browse files Browse the repository at this point in the history
  • Loading branch information
supnate committed Jul 11, 2020
1 parent d502bf8 commit abdfbc1
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/FormBuilderField.js
Original file line number Diff line number Diff line change
Expand Up @@ -223,11 +223,7 @@ function FormBuilderField(props) {

if (isV4) {
// antd v4 always has form item
return (
<FormItem {...formItemProps} noStyle>
{ele}
</FormItem>
)
return <FormItem {...formItemProps}>{ele}</FormItem>
}
return field.noFormItem ? ele2 : <FormItem {...formItemProps}>{ele2}</FormItem>
}
Expand Down

0 comments on commit abdfbc1

Please sign in to comment.