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

onselect file return but folder return undefined #163

Open
StarStuff15 opened this issue Feb 9, 2021 · 5 comments
Open

onselect file return but folder return undefined #163

StarStuff15 opened this issue Feb 9, 2021 · 5 comments

Comments

@StarStuff15
Copy link

folder select return undefined onFolderSelect and onSelect

@rodriguezd
Copy link

Just ran into same issue. Not sure if it's a bug (suspect it is) or if I'm just missing something

@InsOpDe
Copy link

InsOpDe commented Feb 19, 2021

Problem seems to show up if you use keys which start with a /
i.e.

media/images/giraffe.png

works but

/media/images/giraffe.png

gives you undefined.

I still consider this as a bug

@rodriguezd
Copy link

@InsOpDe I was starting to suspect something like that but hadn't tried it out yet. May help me get past the roadblock. Thanks

@StarStuff15
Copy link
Author

@InsOpDe here is my key
key: "66/2-thumb.jpg"
still, I get undefined

@InsOpDe
Copy link

InsOpDe commented Feb 20, 2021

you might want to look into the storybook examples

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

3 participants