diff --git a/components/neroshitron/tag_selector.tsx b/components/neroshitron/tag_selector.tsx index 53dbed6..8d234e0 100644 --- a/components/neroshitron/tag_selector.tsx +++ b/components/neroshitron/tag_selector.tsx @@ -46,8 +46,14 @@ const TagSelector = forwardRef 0)? (
-
- {props.tagsInput.map((tag: any) => ( +
+ {props.tagsInput.map((tag: any) => ( + (tagSearch === '' || tag.name.toLowerCase().includes(tagSearch.toLowerCase())) && // Updated condition + handleTag(tag)} /> + ))}{props.tagsInput.map((tag: any) => ( + (tagSearch === '' || tag.name.toLowerCase().includes(tagSearch.toLowerCase())) && // Updated condition + handleTag(tag)} /> + ))}{props.tagsInput.map((tag: any) => ( (tagSearch === '' || tag.name.toLowerCase().includes(tagSearch.toLowerCase())) && // Updated condition handleTag(tag)} /> ))}