Repository navigation
Conversation
dmohns
marked this pull request as ready for review
December 3, 2026 14:06
beesaferoot
approved these changes
Dec 4, 2026
beesaferoot
left a comment
Contributor
There was a problem hiding this comment.
Looks good. Thanks 🙏🏾
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Brief summary of the change made
This PR implements a range of tiny improvements which, together, should greatly increase the user experience w.r.t phone numbers. For now, this only affect customer modals, so customer registration + address modification modal.
Customer Address modification Modal no longer using SWAL for missing City but vee-validate
Before:

After:

Move PhoneNumber validation to backend.
vue-tel-inputsvalidationmode="international"is too loose. It would allow certain inputs that the backend's validation rejects. For Address Modification modal, nn practise, this means when a phone number is invalid (for the backend) the modal would close and the error shows only in debug.Additionally, exposing much more fine-grained validation from
libphonenumber. For example a number like+49 1234567890is valid forvue-tel-inputbut actually 123 is not valid is +49libphonenumberraises this.Stop using
phone:INTERNATIONALin favour of custom Validator.Unify Error placement of vee-validate and backend validation errors. This is done via fieldErrors.js. As a future improvement could re-use this elsewhere
Before:
After:
Apply unified phone handling in all components
Are there any other side effects of this change that we should be aware of?
Describe how you tested your changes?
Pull Request checklist
Please confirm you have completed any of the necessary steps below.