15 lines
555 B
HTML
15 lines
555 B
HTML
<template>
|
|
<lightning-card title="Related Contacts of Account">
|
|
<template if:true={ConList}>
|
|
<lightning-datatable data={ConList} columns={columns} key-field="Id"></lightning-datatable>
|
|
</template>
|
|
<template if:true={error}>
|
|
{error}
|
|
</template>
|
|
<div class="slds-m-around_medium">
|
|
<lightning-input type="file"
|
|
accept=".xlsx, .xls, .csv, .png, .doc, .docx, .pdf"
|
|
label="Attachment" onchange={openfileUpload}></lightning-input>
|
|
</div>
|
|
</lightning-card>
|
|
</template> |