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

The complete checkout validation group is difficult to override #16151

Open
coldic3 opened this issue Apr 19, 2024 · 0 comments
Open

The complete checkout validation group is difficult to override #16151

coldic3 opened this issue Apr 19, 2024 · 0 comments

Comments

@coldic3
Copy link
Contributor

coldic3 commented Apr 19, 2024

Sylius version affected: 1.12

Description
In the route sylius_shop_checkout_complete the validation group sylius_checkout_complete is used, please see

validation_groups: 'sylius_checkout_complete'

IMO it should be done in the sylius.form.type.checkout_complete.validation_groups param instead as it is done with all other steps. Now if you want to replace Sylius validation with your own validation you need to override the entire sylius_shop_checkout_complete route config.

Possible Solution
Let's add sylius_checkout_complete group into the sylius.form.type.checkout_complete.validation_groups param.

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

No branches or pull requests

1 participant