Can I control the file type filter shown when I click the button to browse a directory and select file(s)?
I want to select only *.xml files for example.
you can limit the file type by adding the accept attribute
<InputFile OnChange="OnFileChange" accept=".xml" />
more information here https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/accept
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With