Please kindly support for file input save as and open file input. tia
It is possible to achieve with something like this:
<label for="files" class="button file-label">Upload
</label>
<input
onchange="yourUploadHandler(e)"
accept=".csv, .doc, image/*"
class="hidden"
id="files"
type="file" />
.file-label {
width: 15rem;
}
input[type=file].hidden {
visibility: hidden;
width: 15rem;
margin-left: -15rem;
}
Heads up; do not wrap the label around the input, this will make IE (at least Edge) to go bonkers.
@marcusasplund it's very impressive! Okay for you if I add this feature in the next version?
Yes, of course!
@faststare Inspire by @marcusasplund, I add this feature #249
Now I will close this issue.
Most helpful comment
It is possible to achieve with something like this:
Heads up; do not wrap the label around the input, this will make IE (at least Edge) to go bonkers.