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

º and ª must be allowed in Adress Validation #41

Open
joinso opened this issue Oct 14, 2021 · 0 comments
Open

º and ª must be allowed in Adress Validation #41

joinso opened this issue Oct 14, 2021 · 0 comments

Comments

@joinso
Copy link

joinso commented Oct 14, 2021

In Spain, some adress needs to specify º and ª to identify the floor and door of a bulding.
So, in
RealexPayments/HPP/view/frontend/web/js/model|validation.js, line 86
this:
let pattern = /^[ÀÁÂÃÂÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿ_a-zA-Z0-9.'\s,\-\/\u0152\u0153\u017D\u0161\u017E\u0178]*$/;
must be:
let pattern = /^[ÀÁÂÃÂÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿ_a-zA-Z0-9.'\s,\-\/\u0152\u0153\u017D\u0161\u017E\u0178\u00BA\u00AA]*$/;

Regards,
JOINSO

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