Skip to content

Commit 180ce15

Browse files
committed
TextField - show validation icon only with validation massage (#3189)
1 parent 88f1676 commit 180ce15

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/textField/ValidationMessage.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ const ValidationMessage = ({
3939
if (validationIcon?.source) {
4040
return (
4141
<View row>
42-
{showValidationMessage &&
42+
{showValidationMessage && validationMessage &&
4343
<Icon tintColor={Colors.$textDangerLight} size={14} marginR-s1 {...validationIcon} testID={`${testID}.icon`}/>}
4444
{renderMessage()}
4545
</View>

0 commit comments

Comments
 (0)