I have a problem with inserting options into field in plugin blueprint like it is suggested in Documentation My field definition looks like this:
bucket: type: select label: Parent classes: fancy data-options@: '\Grav\Plugin\Backblaze::getBucketList' options: 'default': 'default'
and i know the function returns data in array like this:
array [ "name1" => "name1" "name2" => "name2" ]
But the plugin config page throws an error and shows huge Sfdump with no clue what is wrong. Am I using wrong formatting, or is it something else? In the documentation example they use function ‘\Grav\Common\Page\Pages::parentsRawRoutes’ and that returns an array too.
Thanks for any help.