-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Add options parameter to uploadHandler callback on FileUpload #2024
Comments
Hi, You can use clear method of FileUpload;
Best Regards, |
Also, I added options param to uploadHandler method;
Exp;
Best Regards, |
Nope it gives me following error
This what I tried
};` |
Nope It gives me below error
This is what I tried
|
I'm submitting a ... (check one with "x")
Current behavior
I have FileUpload component like this
This is my
onBaptismCertificateUploadAuto
method``
Image is successfully uploading BUT file name stays same. and Old file is still attached to button.
See below screenshow
https://tinyurl.com/yzel7wgx
Expected behavior
Button name should change to "Browse" and I should be able to select new image
Please tell us about your environment:
OS: windows 10 Pro
package manager : npm
HTTP server(backend) : Django
React version:
"react": "^17.0.1",
PrimeReact version:
"primereact": "^6.3.2",
Browser: [Chrome 90.0.4430.93 (Official Build) (64-bit)|]
Language: [ TypeScript 4.1.3 ]
The text was updated successfully, but these errors were encountered: