Comments (6)
Same problem here. Did you manage to find a solution?
from react-tags.
Hey, which version are you using? This was fixed in 6.10.2
from react-tags.
"react-tag-input": "^6.10.2"
but the problem is still there. now everything stopped working at all (
from react-tags.
I confirm that the error is still exists in 6.10.2.
from react-tags.
Hi it works fine in the example, could you please share a reproducible codesandbox example so I can look into it?
from react-tags.
The problem seems to occur when using the classNames
attribute, particurally, the remove
class. The library is looking for this class in particular. Overwriting it by providing custom classNames causes an error. As a workaround, we can do this:
classNames={{
// ... other classes
remove: 'ReactTags__remove ml-2 cursor-pointer text-red-500 hover:text-red-700', // added 'ReactTags__remove'
}}
from react-tags.
Related Issues (20)
- Issue: a form field element should have an id or name attribute HOT 1
- Edit tag in the input box. HOT 1
- Using a custom icon instead of the x character for the remove button HOT 1
- Move to Typescript
- How to add + icon to open input field HOT 1
- Integration with react-hook-form HOT 1
- Remove autocomplete prop HOT 2
- Move to React 18 and remove Enzyme HOT 1
- How can I copy paste tags? HOT 4
- Remove delimeters prop HOT 4
- Remove react-dnd and move to native drag and drop instead HOT 5
- README.md: Support, Dev, Setup Instructions, Contributing and Thanks sections are placed in the middle of the options section HOT 1
- Incorrect classNames typedef HOT 3
- Unable to specific class names to a subset of elements for the classNames prop following recent TypeScript changes HOT 1
- Integrate Fuzzy Search for suggestions HOT 7
- Add stylelintrc
- An Extra Tag is Created for the Last Letter When Typing in Korean HOT 7
- The vercel preview is broken
- Jest not able to add `.ts` extension to fuzzyfy HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-tags.