Skip to content

Commit 957e747

Browse files
committed
Update Field
1 parent 0698ec8 commit 957e747

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/components/molecules/Field/index.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,9 @@ const Field = ({ error, name, invalid, label, type, ...props, theme }) => {
1818
{label && <Label htmlFor={inputProps.id}>{label}</Label>}
1919
<Input {...inputProps} />
2020
{invalid && error &&
21-
<Error id={`${name}Error`} role="alert" color="danger" theme={theme}>{error}</Error>
21+
<Error id={`${name}Error`} role="alert" color="danger" theme={theme} transparent>
22+
{error}
23+
</Error>
2224
}
2325
</Wrapper>
2426
)

0 commit comments

Comments
 (0)