Last active
October 19, 2022 06:21
-
-
Save svierk/73146b848dea056a47ac242058d5c09d to your computer and use it in GitHub Desktop.
Lightning Input for CSV File Upload
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<lightning-input | |
type="file" | |
label="Please upload a UTF-8 encoded, comma separated .csv file" | |
accept=".csv" | |
onchange={handleFileUpload} | |
> | |
</lightning-input> | |
</template> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment