wooey / Wooey

A Django app that creates automatic web UIs for Python scripts.
http://wooey.readthedocs.org
BSD 3-Clause "New" or "Revised" License
2.12k stars 182 forks source link

path selector #347

Closed lfaino closed 2 years ago

lfaino commented 2 years ago

Dear Developer

I have a question. Starting that i love your work, I would like to know if it possible to add a path selector in wooey? I`m working with users that do not have access to the server PC and therefore are not able to navigate the remote PC. do you think that it could be possible to add a path browser/selector in wooey to specific args parser options?

Cheers Luigi

Chris7 commented 2 years ago

Hi @lfaino,

This would not be possible as anything specific to argparse. If you'd want to do it, you would have to make a custom widget with your own javascript that would make the remote PC directory browsable. Wooey supports custom widgets (https://wooey.readthedocs.io/en/latest/customizations.html#form-widgets), but there is no support here for custom javascript. You could do that by loading your own javascript in a wooey template.