Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug Report][3.7.1] VFileInput does not provide file path anymore #20486

Closed
crystalfp opened this issue Sep 18, 2024 · 2 comments
Closed

[Bug Report][3.7.1] VFileInput does not provide file path anymore #20486

crystalfp opened this issue Sep 18, 2024 · 2 comments
Labels
S: triage upstream Problem with a third party library that we may have to work around

Comments

@crystalfp
Copy link

Environment

Vuetify Version: 3.7.1
Last working version: 3.6.0
Vue Version: 3.5.6
Browsers: Chrome 128.0.0.0
OS: Windows 10

Steps to reproduce

Load any file and you see that the output below changes from "None" to an empty string.
Is there any way to obtain the file path? As is it is a widget not useful.
I'm running inside Electron.

Expected Behavior

To have somewhere the file path to open. Note that I have to send the file path to the Electron main process to open and process the file.

Actual Behavior

The widget provides an empty string.

Reproduction Link

https://play.vuetifyjs.com/#...

Other comments

Don't know when It was working.

@KaelWD
Copy link
Member

KaelWD commented Sep 18, 2024

https://www.electronjs.org/docs/latest/api/file-object

Warning The path property that Electron adds to the File interface is deprecated and will be removed in a future Electron release. We recommend you use webUtils.getPathForFile instead.

@KaelWD KaelWD closed this as not planned Won't fix, can't repro, duplicate, stale Sep 18, 2024
@KaelWD KaelWD added the upstream Problem with a third party library that we may have to work around label Sep 18, 2024
@crystalfp
Copy link
Author

Thanks for the suggestion! Electron documentation is a little shallow on this, for example does not mention that winUtils should be accessed in preload.js. Anyway, solved and thanks again!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S: triage upstream Problem with a third party library that we may have to work around
Projects
None yet
Development

No branches or pull requests

2 participants