Lightning Record Edit Form

Lightning Record Edit Form - To customize the form layout or provide custom rendering of record data, use lightning:recordeditform (add or update a record) and lightning:recordviewform (view a record). The component displays fields with their labels and the current values, and enables you to edit their values. The record form components, lightning:recordform, lightning:recordeditform, and lightning:recordviewform, handle form density in similar ways. The density attribute is set to auto by default for all record form components. If you want to customize the form layout or preload custom values, use lightning:recordeditform. If you need more flexibility than these components provide, see build custom ui. The objectapiname attribute is always required, and the recordid is required only when you’re editing or viewing a record.

The density attribute is set to auto by default for all record form components. If you need more flexibility than these components provide, see build custom ui. The simplest way to create a form that enables you to edit a record is to use the lightning:recordform component. If you want to customize the form layout or preload custom values, use lightning:recordeditform.

The objectapiname attribute is always required, and the recordid is required only when you’re editing or viewing a record. If you need more flexibility than these components provide, see build custom ui. The density attribute is set to auto by default for all record form components. Additionally, data provisioned by apex is not managed and you must handle data refresh by invoking the apex. If you want to customize the form layout or preload custom values, use lightning:recordeditform. The simplest way to create a form that enables you to edit a record is to use the lightning:recordform component.

If you want to customize the form layout or preload custom values, use lightning:recordeditform. The record form components, lightning:recordform, lightning:recordeditform, and lightning:recordviewform, handle form density in similar ways. If you need more flexibility than these components provide, see build custom ui. The objectapiname attribute is always required, and the recordid is required only when you’re editing or viewing a record. The simplest way to create a form that enables you to edit a record is to use the lightning:recordform component.

Additionally, data provisioned by apex is not managed and you must handle data refresh by invoking the apex. To customize the form layout or provide custom rendering of record data, use lightning:recordeditform (add or update a record) and lightning:recordviewform (view a record). If you want to customize the form layout or preload custom values, use lightning:recordeditform. The density attribute is set to auto by default for all record form components.

The Simplest Way To Create A Form That Enables You To Edit A Record Is To Use The Lightning:recordform Component.

The density attribute is set to auto by default for all record form components. The objectapiname attribute is always required, and the recordid is required only when you’re editing or viewing a record. The component displays fields with their labels and the current values, and enables you to edit their values. The record form components, lightning:recordform, lightning:recordeditform, and lightning:recordviewform, handle form density in similar ways.

If You Need More Flexibility Than These Components Provide, See Build Custom Ui.

If you want to customize the form layout or preload custom values, use lightning:recordeditform. To customize the form layout or provide custom rendering of record data, use lightning:recordeditform (add or update a record) and lightning:recordviewform (view a record). Additionally, data provisioned by apex is not managed and you must handle data refresh by invoking the apex.

Additionally, data provisioned by apex is not managed and you must handle data refresh by invoking the apex. If you want to customize the form layout or preload custom values, use lightning:recordeditform. The objectapiname attribute is always required, and the recordid is required only when you’re editing or viewing a record. The density attribute is set to auto by default for all record form components. The simplest way to create a form that enables you to edit a record is to use the lightning:recordform component.