Skip to content

Commit

Permalink
chore: revert
Browse files Browse the repository at this point in the history
  • Loading branch information
07akioni committed Jul 3, 2020
1 parent da4b2db commit 457a8b5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions components/form/FormItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,7 @@ function FormItem(props: FormItemProps): React.ReactElement {
>
{(control, meta, context) => {
const { errors } = meta;

const mergedName = toArray(name).length && meta ? meta.name : [];
const fieldId = getFieldId(mergedName, formName);

Expand Down

0 comments on commit 457a8b5

Please sign in to comment.