Skip to content

Commit

Permalink
TextField - show validation icon only with validation massage (#3189)
Browse files Browse the repository at this point in the history
  • Loading branch information
Inbal-Tish committed Jul 30, 2024
1 parent 88f1676 commit 180ce15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/textField/ValidationMessage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ const ValidationMessage = ({
if (validationIcon?.source) {
return (
<View row>
{showValidationMessage &&
{showValidationMessage && validationMessage &&
<Icon tintColor={Colors.$textDangerLight} size={14} marginR-s1 {...validationIcon} testID={`${testID}.icon`}/>}
{renderMessage()}
</View>
Expand Down

0 comments on commit 180ce15

Please sign in to comment.