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
Claire CrabtreeClaire Crabtree 

Is this an error on Developer Guide?

Edit a Record with a Custom Layout Using lightning-record-edit-form

Is it missing a </lightning-record-edit-form>?
Also, should the second div class be 2-of-2?

Thanks for helping a budding developer.
Best Answer chosen by Claire Crabtree
Khan AnasKhan Anas (Salesforce Developers) 

Hi Claire,

Greetings to you!

Awesome! You are right, </lightning-record-edit-form> is missing. I will try to share your feedback with the respective team.

But, class="slds-col slds-size_1-of-2" is correct for the second div.

slds-size_1-of-2 -> This equates to a width of 50%. This will make each field take up 50% of the containing section.
Refer this link for more information:

I hope it helps you.

Kindly let me know if it helps you and close your query by marking it as solved so that it can help others in the future. It will help to keep this community clean.

Thanks and Regards,
Khan Anas