Skip to content

Commit adeb722

Browse files
committed
fix: the tagsinput component code has been adjusted
1 parent 4c37f7c commit adeb722

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

workspaces/core/src/tagsInput/TagsInput.tsx

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,15 @@ const TagsInputRoot = forwardRef<HTMLSpanElement, TagsInputRootProps>(
5050
return;
5151
}
5252

53-
setIsInvalid(validity.typeMismatch || validity.patternMismatch || validity.tooLong || validity.tooShort || validity.rangeUnderflow || validity.rangeOverflow || validity.stepMismatch || validity.badInput || validity.customError);
53+
setIsInvalid(validity.typeMismatch ||
54+
validity.patternMismatch ||
55+
validity.tooLong ||
56+
validity.tooShort ||
57+
validity.rangeUnderflow ||
58+
validity.rangeOverflow ||
59+
validity.stepMismatch ||
60+
validity.badInput ||
61+
validity.customError);
5462
};
5563

5664
return (

0 commit comments

Comments
 (0)