You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I will investigate the issue, but please note that the package published on npm is only compatible with the development version of wails v3 (tip of the v3-alpha branch), not with the tagged release alpha.9.
Indeed, the encoding of dialog responses has changed recently, and that might be the cause of the malfunction you're observing.
Description
When calling
Dialogs.OpenFile()
from JS and selecting a file, the returned string isn't evaluated properly because of unescaped backslahesTo Reproduce
Expected behaviour
Calling
Dialogs.OpenFile()
from JS should return a usable filepath (e.g."D:\\notes\\time.txt"
)Screenshots
No response
Attempted Fixes
Workaround for v3
Call
application.OpenFileDialog().PromptForSingleSelection()
from Go, as instructed in the docsSystem Details
Additional context
Related threads
Thread on discord discussing the issue: Windows Path and JS auto escaping
package.json
The text was updated successfully, but these errors were encountered: