Pages Field Not Showing All Pages in Admin Panel (Limit?)

@karmalakas

I tried to explain this in the 2nd post. The list isn’t actually truncated, the data is all there.

The var_dump in screenshot shows a list of all pages, thats what the Dropdown should do:

Output of var_dump:

Thats all fine. So I think the widget seems to have a bug because even though it has all the data, Dropbox doesn’t output all of it.

When I click into dropbox, JS Message appears in console:

image

Click on that arrow jumps to following JS code part:

I also opened an issue in the Admin Panel Plugin GitLab in case there are any insights there: Pages Field Not Displaying All Pages in Admin Panel · Issue #2444 · getgrav/grav-plugin-admin · GitHub

Steps to Reproduce:

  • Run a Grav site with over 1000 pages.
  • Use the pages field in a blueprint with show_all: true.
  • Open the Admin Panel and try to select a page.
  • Notice that the dropdown does not display all available pages.
1 Like