-
-
Notifications
You must be signed in to change notification settings - Fork 173
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
[v5] View buttons with link should accept Query language similiar to page preview #6861
Comments
I've noticed the view buttons do not accept a translation array either, is this the same issue? buttons:
email:
text:
de: Kontakt
en: Contact
icon: email
link: mailto:[email protected]
theme: info This throws Also, looking at the other stuff in my blueprint I'm wondering why this is |
@medienbaecker it correlates to the |
@tobimori @medienbaecker I have a first draft at #6901 - do you think query/i18n support is needed for more props than listed currently? |
Is there a reason for limiting the props with translation/query support? I could imagine having a theme (positive, negative, ...) or icon (warning, check mark, ...) depending on a query would be very useful. Any prop probably 😅 |
Performance (minimal) and just keeping the implementation clean and easy to maintain. Of course we could throw it at everything, but in the long run this isn't so helpful but rather might lead us into dead ends. That's why I think it does make sense to make intentional choices. E.g. I don't think there is much value in adding i18n support for |
Description
This doesn't work - yet Query language works in
options.preview
.Same for the text, so it works with translations.
Your setup
Kirby Version v5-beta.1
The text was updated successfully, but these errors were encountered: