Salesforce Lightning Web Component

Salesforce

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 ....

Salesforce

Highlight and Bold Matching Text Salesforce Lightning Web Component LWC

Sample Code:HTML: <template>     <lightning-card title="Highlight and Bold Matching Text">         <div onkeyup={handleKeyUp} class="slds-m-around_medium">             <lightning-input                 label="Search"                 type="search"                 onchange={handleChange}                 value={searchKey}             ....