My_Test_Repo/force-app/main/default/lwc/relatedContact/relatedContact.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>