-
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? |
Beta Was this translation helpful? Give feedback.
Answered by
hiiii5
Apr 22, 2024
Replies: 1 comment 2 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. |
Beta Was this translation helpful? Give feedback.
2 replies
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.