PyWebIO
PyWebIO copied to clipboard
no pin widget for `file_upload()
if it's possible to add pin widget for `file_upload()?
For performance reason, there is no pin widget for file_upload().
A workaround is output a buttion and use file_upload() in the button's click callback.
I find that the workaround can't handle the case where file upload in a popup, I will consider to add pin.put_file_upload .
"file_upload in a popup" is a good function, looking forward to it.
pin.put_file_upload() is supported in pywebio dev version, and will be released to stable version soon.
dev doc: https://pywebio.readthedocs.io/en/dev/pin.html#pywebio.pin.put_file_upload
Thanks! This is awesome!