Skip to content

Commit 4e71b0e

Browse files
committed
Fix Input error display
1 parent 363ce1f commit 4e71b0e

File tree

1 file changed

+1
-1
lines changed
  • packages/components/src/components/Input

1 file changed

+1
-1
lines changed

packages/components/src/components/Input/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ export function Input({
146146
{...props}
147147
/>
148148
{clearButtonVisible && <ClearButton onClick={handleClear} />}
149-
{errorMessage && (
149+
{error && errorMessage && (
150150
<Text
151151
aria-label="error-message"
152152
bottom="-8px"

0 commit comments

Comments
 (0)