You need to sign in to do that
Don't have an account?
Piyush Bajoria 15
New button override using Aura and LWC is cached. How do I make sure form displayed is new, everytime it loads??
I've an Aura Component that is overridding the "New" Button. The aura component loads the LWC - which displays a record edit form to input data.
This works well the first time. However, if I fill in some value on a field, click New again - the data/form that is displayed is cached and shows the old data. How do I overcome this?
This works well the first time. However, if I fill in some value on a field, click New again - the data/form that is displayed is cached and shows the old data. How do I overcome this?
Setup | search Session Settings | uncheck Enable secure and persistent browser caching to improve performance
https://developer.salesforce.com/docs/component-library/bundle/lightning-input-field/specification
The "New" button calls the Aura - which in turn calls the LWC.
Aura
LWC Controller -
Have you found solution for your issue. I am facing same issue now.