I have a requirement where i need to restrict the user to not upload the file size more than 2 MB. We are using lightning:fileUpload , for which i don't see any size parameter.
We are uploading file from 3 places for same object. We need restriction only in one place.
All please suggest on how we can limit the size on file upload. .
Thanks in advance.