toPages() is always empty

i have a pages field.
$page->banner() is


$page->banner()->toPages is empty

the pages are all in draft status. Any ideas why toPages() is always empty but the string resolves fine?

kirby version is 3.4.0

The toPages() method works only for children not drafts.


$selectedPages = $page->banner()->yaml();
foreach ($selectedPages as $selectedPage) {

Or you could create a custom method that converts the selected pages.