You need to sign in to do that
Don't have an account?
Is the force:recordEdit attribute documenation wrong?
Hi all-
When looking at the documentation for force:recordEdit, https://developer.salesforce.com/docs/atlas.en-us.lightning.meta/lightning/aura_compref_force_recordEdit.htm, it appears that there is something missing or there is a typo under the 'recordId' attribute.
recordId -- String -- The Id of the record to load, optional if record attribute is specified.
Can someone comment on what 'record' attribute is referring to? Is there supposed to another attribute listed that is not? Based on the description, it seems that the component can be initialized with an sObject by passing in either a record Id or an sObject record, but the 'record' attribute doens't appear to exist, so how is 'recordId' optional? I would like to pass in a record instead of a record Id if possible.
Thank you!