Timeline for Lightning recordForm displaying stale data
Current License: CC BY-SA 4.0
6 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Mar 26, 2020 at 15:17 | comment | added | thinker | How do you update the fields? Use a setParams? | |
Jun 12, 2019 at 18:03 | comment | added | Greg Rewis | @BrianMiller you are trying to reload the form with reloadRecord. With recordForm, you don't need to call reloadRecord, but rather update the fields parameter with the name of a field that doesn't exist. Sorry for the confusion. | |
Jun 11, 2019 at 15:08 | comment | added | Brian Miller |
Just tried this now - with lightning:recordForm aura:id="recordForm" , the command component.find("recordForm").reloadRecord(true); is showing the following error: component.find(...).reloadRecord is not a function
|
|
Jul 20, 2018 at 4:43 | comment | added | Greg Rewis | Yes -- just add a fields parameter to recordForm, and in the fields array just add a field that doesn't exist. | |
Jul 18, 2018 at 4:17 | comment | added | tsalb |
Is this applicable to lightning:recordForm too? I had tried at one point to call the same reloadRecord method but was unsuccessful.
|
|
Jul 17, 2018 at 22:09 | history | answered | Greg Rewis | CC BY-SA 4.0 |