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

BUGFIX: #12681 add missing required class to provincecode select input #15900

Conversation

crydotsnake
Copy link
Contributor

@crydotsnake crydotsnake commented Feb 26, 2024

Q A
Branch? 1.12
Bug fix? yes.
New feature? no.
BC breaks? no.
Deprecations? no.
Related tickets fixes #12681.
License MIT

Description

As described in #12681:

Currently when you choose a country with configured provinces, the province select input isnt visualy marked as required with a *. When you try to submit the address form without choosing a province, it will tell you:

SCR-20240226-nkag

With this change, the required class will be added to the provinceContainer. Then it becomes visible again:

SCR-20240226-nioq

@crydotsnake crydotsnake requested a review from a team as a code owner February 26, 2024 14:09
@probot-autolabeler probot-autolabeler bot added the Shop ShopBundle related issues and PRs. label Feb 26, 2024
@crydotsnake
Copy link
Contributor Author

Full thanks goes to @acornforth ❤️ ! Since it was his idea for implemeting this solution! I only saw, it wasnt implemented, and i could still reproduce the issue he described in #12681

Copy link

github-actions bot commented Feb 26, 2024

Bunnyshell Preview Environment deleted

Available commands:

  • /bns:deploy to redeploy the environment

@Wojdylak Wojdylak merged commit 33f2cb5 into Sylius:1.12 Feb 27, 2024
27 checks passed
@Wojdylak
Copy link
Member

Thank you, @crydotsnake!

@crydotsnake
Copy link
Contributor Author

Your welcome! Thank you for your review @Wojdylak @TheMilek @Rafikooo !

@acornforth
Copy link
Contributor

Thanks for implementing this @crydotsnake, I changed jobs, and don't work with Sylius on a daily anymore, but my former colleagues will appreciate this a lot

@crydotsnake
Copy link
Contributor Author

Your welcome ! @acornforth

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Shop ShopBundle related issues and PRs.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants