Open debbbbie opened 6 years ago
Did this used to work? Or has it never worked?
I've never been able to get this to work. I believe it's a sandboxing issue?
My workaround has been to use JavaScript callbacks to trigger a Lua-based file prompt.
@latenitefilms How did you do that? Can you share your code with me? Thanks!
@cmsj It should has never worked.
You can see our code here:
Hopefully it makes SOME sense. Any questions let me know!
It does look to me like WKWebView supports file input tags, but I'm not currently familiar enough with hs.webview to investigate much further.
@debbbbie what would you expect to happen when the user has selected some files? Some kind of Lua callback?
@cmsj - Does this mean anything to you?
@cmsj when the user has selected some files, I think:
file input tag
should get this file, like a true webview. Then the form can submit, and so on.But, as latenitefilms has provided an idea, we can use lua to prompt a chooseFileOrFolder dialog, this can be used now.
@josephholsten @jfchevrette @freewizard @mgee @knu
Can you fix this? I think it's a very important feature.