79831926

Date: 2025-11-27 16:44:02
Score: 0.5
Natty:
Report link

Only defining fileUploadReference.current.clear() wasn't working here, I had to do the following in the onUpload method:

setTimeout(() => {
  fileUploadRef.current?.clear();
  fileUploadRef.current?.setUploadedFiles([]);
}, 0);
"primereact": "^10.9.7",
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: RAFAEL DA SILVA