Blueprint data-options@ children


#1

I’m trying to limit the results of a dropdown list to the children of a particular page using something like the following in my blueprint:

data-default@: /the-parent-page
data-options@: ['\Grav\Common\Page\Pages::children', 'default']

But I get the error Using $this when not in object context because I think, I’m calling a non static method with a static call, or something.

Any ideas?