Skip to content

Commit

Permalink
fix: the tagsinput component code has been adjusted
Browse files Browse the repository at this point in the history
  • Loading branch information
moon-ds committed Feb 23, 2024
1 parent 4c37f7c commit adeb722
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion workspaces/core/src/tagsInput/TagsInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,15 @@ const TagsInputRoot = forwardRef<HTMLSpanElement, TagsInputRootProps>(
return;
}

setIsInvalid(validity.typeMismatch || validity.patternMismatch || validity.tooLong || validity.tooShort || validity.rangeUnderflow || validity.rangeOverflow || validity.stepMismatch || validity.badInput || validity.customError);
setIsInvalid(validity.typeMismatch ||
validity.patternMismatch ||
validity.tooLong ||
validity.tooShort ||
validity.rangeUnderflow ||
validity.rangeOverflow ||
validity.stepMismatch ||
validity.badInput ||
validity.customError);
};

return (
Expand Down

0 comments on commit adeb722

Please sign in to comment.