You need to sign in to do that
Don't have an account?
![Stefaan Somers 12 Stefaan Somers 12](https://dfc-org-production.my.site.com/img/userprofile/default_profile_45_v2.png)
lightning-record-form values not updated
Hi,
Im' using in lwc the following code :
<lightning-record-form object-api-name={objectApiName} record-id={recordId} fields={fields} onsuccess= {handleSuccess} ></lightning-record-form>
After I went into edit, changed a value and saved the changes, I go back to the page where the record-form is in read-mode. But unfortunateley it doesn't contain the changed value. I need to refresh the whole page, to see the changes
Im' using in lwc the following code :
<lightning-record-form object-api-name={objectApiName} record-id={recordId} fields={fields} onsuccess= {handleSuccess} ></lightning-record-form>
After I went into edit, changed a value and saved the changes, I go back to the page where the record-form is in read-mode. But unfortunateley it doesn't contain the changed value. I need to refresh the whole page, to see the changes
Can you please provide your js file code here. I also faced same problem in one lwc implementation. So I added called my default method in connectedCallback
this is my JS code