Closed st-little closed 1 year ago
Agreed, this would be a nice feature!
In the meantime, consider workarounds:
<input type="file">
might do what you needI recommend using NFD directly in handlers - we will be integrating NFD into file input elements in a future release.
I recommend using NFD directly in handlers - we will be integrating NFD into file input elements in a future release.
use NFD
replace <input type="file">
or just add a file-dialog component ?
I recommend using NFD directly in handlers - we will be integrating NFD into file input elements in a future release.
use
NFD
replace<input type="file">
or just add a file-dialog component ?
Our input
element used in desktop will need to support onlick -> NFD (which it doesn't) and register a background file-handler with wry for drag-and-drop onto it.
I've debated just making a new Input
component instead, but I think keeping Dioxus as a "platform" means smoothing over the "raw" functionality of wry/tao.
In #692 , we finally run the VirtualDom on the main thread, unlocking this capability.
This has been somewhat added, but we recommend deferring to RFD directly.
Specific Demand
Add support for native system dialog such as electron dialog
Implement Suggestion