You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 1, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on Jun 1, 2023. It is now read-only.
It would be useful if we could pass custom class names to the Tag Input component. This would be especially useful for when using things like TailwindCSS as it would handle light/dark mode well.
Is this feature implemented now? I have its usecase in my current project. If not then it would be great if someone could take it. This will make customizations highly flexible.
@biswajit-k - I have forked the project here: https://github.com/LucidNinja/react-tag-input and have created a pull request for this, but nothing has come of the PR to date. This is a bit of a rewrite under the hood though (functional instead of class based). But for all intents and purposes it's the same package but with the ability to use wrapperClass and inputClass. That said, I haven't published this to NPM, but I can if required.
Activity
agredalex1997 commentedon Jul 1, 2021
@alexandermarston this is possible with the
classNameprop, no?LucidNinja commentedon Feb 11, 2022
This would be super helpful
classNameisn't passed down to the input.LucidNinja commentedon Feb 11, 2022
I have tackled this issue with this PR #27 - this is also a fairly large refactor of the project, allowing for ref forwarding also.
biswajit-k commentedon May 10, 2022
Is this feature implemented now? I have its usecase in my current project. If not then it would be great if someone could take it. This will make customizations highly flexible.
LucidNinja commentedon May 11, 2022
@biswajit-k - I have forked the project here: https://github.com/LucidNinja/react-tag-input and have created a pull request for this, but nothing has come of the PR to date. This is a bit of a rewrite under the hood though (functional instead of class based). But for all intents and purposes it's the same package but with the ability to use
wrapperClassandinputClass. That said, I haven't published this to NPM, but I can if required.biswajit-k commentedon May 11, 2022
@LucidNinja Great Job! It is extremely helpful.