Skip to content
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

Use current Twig vars on HooksRuntime when no only option has been pa… #114

Merged
merged 1 commit into from
Oct 28, 2024

Conversation

loic425
Copy link
Member

@loic425 loic425 commented Oct 28, 2024

…ssed

Redo the changes reverted here
#72

We will release that on 0.5 (next release). That means we'll not break Sylius shop, until we allow Twig Hooks "^0.5".
I've created a 0.4 branch to release our 0.4.1.

From my investigation, I've managed to fix one issue on Shop.

<!-- ShopBundle/templates/checkout/address/form/addresses/address/form.html.twig -->

{% hook 'address' with { _prefixes: prefixes, 'form': attribute(form, field) } only %}

@loic425 loic425 merged commit b5c7107 into Sylius:main Oct 28, 2024
6 checks passed
@loic425 loic425 deleted the feature/twig-vars branch October 28, 2024 14:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants