A lightning-input-field component displays an editable field based on the field type. To create a record create layout, use this component with lightning-record-edit-form and pass in the object API

By Sanket Kumar
A lightning-input-field component displays an editable field based on the field type. To create a record create layout, use this component with lightning-record-edit-form and pass in the object API