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

7.1.6 ee('CP/FilePicker') produced dialog shows "loading…" forever if file field is not one of the fields #2411

Closed
tjdraper opened this issue Sep 27, 2022 · 1 comment · Fixed by #2413

Comments

@tjdraper
Copy link

In my field type, Ansel, I use a native file picker dialog. And we recently fixed a related bug, but now that it's partially working, I've discovered more bugs.

In this bug, if there are no files/images present in the source directory, and there is no file field, the dialog never shows "no results found" It only continues to show "loading" with the loader behind it. See screenshot.

image

Since I have uploads enabled, it should show a "drop file(s) here to upload" screen. When I include a native file field in the channel's fields, it works properly. See screenshot where I've added a file field to the fields in the channel:

image

@tjdraper
Copy link
Author

tjdraper commented Nov 1, 2022

@bryannielsen @Yulyaswan As of ExpressionEngine 7.2.0 DP 14, which, as far as I can tell, has the commits referenced in the MR that fix this, I'm still seeing this same behavior. I have to have a native file field on the entry page in order for the file picker to behave correctly.

If these commits aren't in DP 14 please let me know. I did a compare against the tag and it looked like they were in there.

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