25 lines
1.5 KiB
HTML
25 lines
1.5 KiB
HTML
<template>
|
|
<lightning-card title="Clone Opportunity">
|
|
<div class="slds-m-horizontal_small slds-grid slds-wrap slds-gutters">
|
|
<div class="slds-col slds-size_1-of-1">
|
|
<lightning-record-edit-form object-api-name={formObjectApiName} onsubmit={handleSubmit}>
|
|
<template for:each={formFields} for:item="formField">
|
|
<lightning-input-field key={formField.apiName} field-name={formField.apiName} value={formField.value}></lightning-input-field>
|
|
</template>
|
|
<div class="slds-col slds-size_1-of-1">
|
|
<h2 class="slds-text-heading_medium">Child Records to Clone</h2>
|
|
</div>
|
|
<div class="slds-col slds-size_1-of-1">
|
|
<lightning-combobox name="childRelationships" label="Child Relationships" placeholder="Select To Clone"
|
|
options={childRelationshipDisplayList} onchange={handleChildRelationshipSelection}></lightning-combobox>
|
|
</div>
|
|
<div class="slds-col slds-size_1-of-1">
|
|
<lightning-pill-container items={childRelationshipSelectionList} onitemremove={handleChildSelectionRemoval}></lightning-pill-container>
|
|
</div>
|
|
<lightning-button type="submit" label="Submit"></lightning-button>
|
|
</lightning-record-edit-form>
|
|
</div>
|
|
|
|
</div>
|
|
</lightning-card>
|
|
</template> |