function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
rohit m 32rohit m 32 

LWC - increase file input size

I have Built LWC, using <lightning-input> where type is file. I am able to upload a file upto 4mb and how can increase more than 30mb
VinayVinay (Salesforce Developers) 
Hi Rohit,

The max content limit for lwc is 4MB.  You can use lightning:fileUpload or call rest API's.

Hope above information was helpful.

Please mark as Best Answer so that it can help others in the future.

Vinay Kumar