New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot read property 'show' of undefined at FileUpload.validate #802
Comments
Provide a sample please at; https://codesandbox.io/s/qjx332qq4 I'm unable to replicate. |
I'm having the same error |
To replicate:
error:
mine:
error:
|
this could be because of the I could be wrong though... |
There is a new onValidationFail event to handle validation errors in basic mode such as displaying a message with a UI of your choice, in advanced they are displayed using the built-in messages. |
fileupload className property not working! any idea how to solve?
|
I'm submitting a ... (check one with "x")
Codesandbox Case (Bug Reports)
I have this FileUpload:
and I get this error, only in basic mode:
and because of this, my method onSelect is never called.
Expected behavior
Should call onSelect method
Minimal reproduction of the problem with instructions
After selecting the image, it gets an error.
Please tell us about your environment:
npm, Windows 10.
React version:
"react": "^16.8.1",
PrimeReact version:
"primereact": "^3.0.0",
Browser:
[ Chrome ]
The text was updated successfully, but these errors were encountered: