react-validation icon indicating copy to clipboard operation
react-validation copied to clipboard

this library doesn't work for me

Open JiniHendrix opened this issue 7 years ago • 5 comments

So importing the components from build doesn't work. Even when I copy paste the demo code when I import components from build like it says in the tutorial it doesn't work.

When I cloned the repo and used the components from the /components folder like the demo code does it does work. Not sure what to do besides copy pasting the components to my project.

JiniHendrix avatar Oct 20 '17 17:10 JiniHendrix

it works if i copy paste the src directory from the node modules but when i use the build components

JiniHendrix avatar Oct 20 '17 20:10 JiniHendrix

I'm having the same issue - imported components from build don't work, but if I include the source manually and roll my own everything seems to work.

jakobstasilowicz avatar Oct 24 '17 15:10 jakobstasilowicz

Getting the same issue here, importing this package fails.

marcod1419 avatar Oct 26 '17 18:10 marcod1419

Which react version you are using? I had to update to react 16 to make it work because react-validation itself use react 16 as dependency (at least i guessed this was the problem).

Mairu avatar Oct 27 '17 10:10 Mairu

I am also using React 16. Importing the package would not cause any errors, but once I tried using it it would say that the package was undefined.

marcod1419 avatar Oct 27 '17 13:10 marcod1419