Does the LWC component support pre-validation before file get uploaded? I checked the js library doesnt seems have any way to do the validation.


No, it does no pre-validation at all. It is essentially just a mechanism to upload files to a record. If you want comprehensive validation, write your own component instead.

  • Apex has limit of 6mb. I need to upload a file up to 20mb. Is there a way can do that? – Kelvin Huang Aug 18 '19 at 23:17

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.