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
Query syntax in blueprints ignores nested config variable when key contains a number #2462
Comments
I can reproduce the issue, i'll track down. As workaround, you can use option key directly like that: kirby.option("places.place1.name") |
I found the issue. The query parts doesn't support any numbers. We need to ask @distantnative who refactor the code why doesn't support it. Btw works great when implemented as Related Query Class |
Maybe I just didn't imagine numbers as part of it.... |
✅ |
Describe the bug
From within my blueprint I would like to access a variable from a config array for a label. This does not work, if the array key contains a number. It then simply shows nothing as a label.
To Reproduce
Given the following config.php:
the blueprint
does not show anything as a label.
label: "{{kirby.option("places").placeTwo.name}}"
, however, would work.Kirby Version
3.3.4
The text was updated successfully, but these errors were encountered: