Closed msichterman closed 3 weeks ago
Similarly, no luck with this either
<TagInput
placeholder={placeholder}
tags={tags}
inputProps={{
className: "bg-red-500 h-12"
}}
setTags={setTags}
activeTagIndex={activeTagIndex}
setActiveTagIndex={setActiveTagIndex}
/>
Here is my workaround for now - but looks like just need to apply tailwind merge and clsx together on inputProps
className
attribute...
<TagInput
placeholder={placeholder}
tags={tags}
inputProps={{
style: {
border: "none",
boxShadow: "none",
outline: "none"
}
}}
setTags={setTags}
activeTagIndex={activeTagIndex}
setActiveTagIndex={setActiveTagIndex}
/>
Class name attributes are not getting applied at all
Example:
The red bg should be applied to the input