Open ahuang11 opened 3 weeks ago
What happens if you pass in without the dots? E.g. csv
instead of .csv
.
Still fails
import panel as pn
pn.extension()
pn.widgets.FileDropper(
multiple=True,
accepted_filetypes=["csv", "parquet", "parq", "json", "xlsx"],
).show()
Seems like a problem with Filepond itself: https://github.com/pqina/filepond-plugin-file-validate-type/issues/13
Problem is that it passes the accept
keyword down to the DOM node, which does support file extensions but the FilePond validation logic itself expects mime types.