How to pass Record Type Id in Salesforce Lightning Web Component lightning-record-form?
Sample Code: HTML: <template> <lightning-quick-action-panel header="New Case"> <lightning-record-form object-api-name="Case" layout-type="Full" columns="2" record-type-id={caseRecordTypeId}> </lightning-record-form> </lightning-quick-action-panel> </template> JavaScript: import { LightningElement, wire } from 'lwc'; import { getObjectInfo } from 'lightning/uiObjectInfoApi'; import ....