Repository navigation
|
I have copied the filePicker code from the example documentation. However, when I attempt to run the code alongside my other view and replace the main filePicker function with an initialize function, the filePicker is unable to locate any files in my directory The mainModel code is here: result: Am I missing something? |
Answered by
hiiii5
Apr 22, 2024
Replies: 2 comments 3 replies
|
Did you ever get this solved? I'm facing the same issue here. The file picker is fine in isolation but the nearly identical setup you have of a file view and picker causes it to show no files found. |
2 replies
|
I am having this same problem can someone share a detailed thing why this was not working. I tried to add a default statement too. Cursor gave me this. |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Found a fix for me, and possibly for this issue from the discord discussion: https://discord.com/channels/1032368467246075914/1170385465204035774/1170629958067048459
The issue is that there is no default statement when switching over the message type, this is required to initialize the file picker at the current directory.