New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Options type API not working with .slug Query #5020
Comments
Not sure but I think field method usages for |
@isaactopo mentioned in the linked forum thread that it worked in versions prior to 3.9, in which case it would be a regression, but I haven't verified yet. If it never worked, then this example in the docs is not correct, it currently doesn't work either.
|
In 3.7.5, this works fine
So I would expect this to work also in 3.9. |
✅ |
Description
I have updated to Kirby 3.9 and I have a Nationality custom field for the users blueprint as follows:
As you can find on the forum: https://forum.getkirby.com/t/options-type-api-not-working/27672/7
When not using
.slug
for the value, is all working as expected but when using it the select only gets the latest item:This is explained on the docs:
https://getkirby.com/docs/reference/panel/fields/select#options-via-api
It's a Bug or we can't use
.slug
for the API queries and it's a documentation thing?This is the JSON I’m using:
https://raw.githubusercontent.com/Dinuks/country-nationality-list/master/countries.json
My setup
Kirby Version 3.9.0
Thanks!
The text was updated successfully, but these errors were encountered: