Not sure if this is a bug, or if I am doing something wrong, so that’s why I am asking here, before creating a github issue.
As per Checkboxes | Kirby CMS
it should be possible, to only have type: api
& api: _url_
defined.
But the error I get is:
Kirby\Query\Query::factory(): Argument #1 ($query) must be of type string, null given, called in /(..)/kirby/src/Option/OptionsApi.php on line 113 in file: /(..)/kirby/src/Query/Query.php line: 54
If I add an empty query:
to the blueprint, everything works:
options:
type: api
url: https://my-api.com/bla-api/tags.json
query:
the JSON looks like this:
{
"100% natural": "100% natural (1)",
"Agility Interview": "Agility Interview (1)",
(...)
}
Or am I missing something?
I am running 3.8.3
Thanks!