You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
panel v1.5.2
python 3.11.8
FilePond 4.31.4 is retrieved when loading component (not sure if relevant)
Description of expected behavior and the observed behavior
Panel docs state that it should be possible to specify file extension in the accepted_filetypes parameter of the FileDropper component. However, when specifying .txt and dropping a file example.txt, the error as seen in the screenshot below shows.
ALL software version info
Software Version Info
Description of expected behavior and the observed behavior
Panel docs state that it should be possible to specify file extension in the
accepted_filetypes
parameter of the FileDropper component. However, when specifying.txt
and dropping a fileexample.txt
, the error as seen in the screenshot below shows.The underlying FilePond library seems to be only supporting mime types. See https://pqina.nl/filepond/docs/api/plugins/file-validate-type/#properties
I guess that either Panel docs is invalid or that code needs to be updated to transform specified extensions into MIME types.
Complete, minimal, self-contained example code that reproduces the issue
Screenshots or screencasts of the bug in action
The text was updated successfully, but these errors were encountered: