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

fakepath #1460

Closed
Chibaheit opened this issue Apr 22, 2015 · 5 comments
Closed

fakepath #1460

Chibaheit opened this issue Apr 22, 2015 · 5 comments

Comments

@Chibaheit
Copy link

I use the to get the filepath
but i get C:\fakepath\tmp.asm
I don't know how to change the settings about the chromium

@Chibaheit
Copy link
Author

input type="file" id="file-asm-path"

@hanzhao
Copy link
Contributor

hanzhao commented Apr 23, 2015

refer to File Object

@zcbenz
Copy link
Member

zcbenz commented Apr 23, 2015

The example in docs seems to work fine with v0.25.0.

@Chibaheit
Copy link
Author

THX。I have found the solve

@appsparkler
Copy link

I'm accessing file path from the evt object:

const handleChange = (evt) => {
  evt.target.files.forEach(file => console.log(file.path));
}

Good Luck...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants