I am trying to filter the file dialogue window using p-fileUpload from primeng. I saw an example to to filter images as image/* and it works but i want ti filter for excel files. I tried file/excel, file/*.xls etc, but no help. Need help.
we can filter by required type like this
accept=".xlsx,.pdf,.csv,.xls"
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