Hi,
I'm trying to setup a page field with a custom selector.
Intention is to show only pages of the currently logged in user in the select drop down.
Here's what I tried in the field setup:
I also tried
But I guess this doesn't make a lot of sense because when the page is created and has not been saved yet, the $page->createdUser isn't there yet.
I always get an empty select
It seems like the page field is not aware of the $user object.
Is there any way how I could filter the pages by created_users_id, maybe through a hook on that field?