Skip to content
This repository was archived by the owner on Feb 27, 2024. It is now read-only.

Commit 0d63ed9

Browse files
author
Mike England
committed
Fix ErrorMessage display on Select
The ErrorMessage component should not be nested in the Field component.
1 parent eb49f81 commit 0d63ed9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/atoms/Inputs/Select/Select.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ export default function Select({
3737
)
3838
})}
3939
{description && <p>{description}</p>}
40-
<ErrorMessage name={id} />
4140
</Field>
41+
<ErrorMessage name={id} />
4242
</div>
4343
)
4444
}

0 commit comments

Comments
 (0)