jarek-foksa / xel

Xel - Widget toolkit for building native-like Electron and Web apps
https://xel-toolkit.org
Other
691 stars 59 forks source link

x-input file #33

Closed ensiform closed 3 years ago

ensiform commented 7 years ago

A themed file selection input currently does not seem to exist. You can manually specify file as a type to x-input but it doesn't seem to fit with themes. Alternative would be to have the file input its own separate type.

jarek-foksa commented 7 years ago

I think this should be implemented as a separate widget called <x-fileinput> because it's going to have significantly different API from <x-input>. I did not add support for "file" type to <x-input> intentionally, it's a bug (please don't rely on it).

jarek-foksa commented 3 years ago

With the new Native File System API it does not make sense anymore to provide a separate file input widget.