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

🐛 [BUG] - pattern problem in the address form #389

Open
maofree opened this issue Mar 6, 2024 · 3 comments
Open

🐛 [BUG] - pattern problem in the address form #389

maofree opened this issue Mar 6, 2024 · 3 comments
Labels
bug Something isn't working waiting for author waiting for author

Comments

@maofree
Copy link

maofree commented Mar 6, 2024

Description

Hi
today 4 people had problems to create a new address in the checkout page
all reported as an error, an incorrect formatting problem in the text fields.
I checked and I think this is due to the pattern attribute present in the form-fields.tpl file of the form_field_item_other block
because one told me that the format was not recognized in the city field.
perhaps the type of pattern does not consider some particular cases
her city was made up of two words. After several attempts I saw that she had managed to create the address.
the same error was also reported on another site
to be safe I removed this type of attribute
the person was recording from a slightly dated Samsung tablet and was using Chrome

1qqq

Here I show an example of an error to understand what it depended on
https://www.w3schools.com/tags/tryit.asp?filename=tryhtml5_input_pattern
the biggest problem is that they didn't understand the nature of this error, I think it depends on the fact that the title attribute is missing, to indicate the conditions present in the pattern

bye

Node.js version

v18

php version

8.1

OS and it's version

linux

Browsers

Chrome

Required module/theme

theme

Reproduction steps

1. from my PC I don't know how to reproduce the error, but from the error text I understood that it is related to the pattern

Logs

No response

@maofree maofree added the bug Something isn't working label Mar 6, 2024
@Oksydan
Copy link
Owner

Oksydan commented Mar 6, 2024

Hi @maofree,

unfortunately I need more information.
Exactly input value, chrome version for example. W/O this data I am not able to check if that is chrome bug for this particular version or something else 😕. I need to reproduce it to fix it 😞
Are you able to provide more information? Without them I can only close this issue.

@Oksydan Oksydan added the waiting for author waiting for author label Mar 6, 2024
@maofree
Copy link
Author

maofree commented Mar 7, 2024

Hi
unfortunately I have no way to ask these 4 customers for this technical information, I had the opportunity to talk for a few minutes and I was told that he used Chrome and a slightly dated tablet, but Chrome also updates on dated devices.
however since this problem appeared on two different sites, I prefer to remove this attribute, however this error notice needs a title to give information on what they are doing wrong in entering the text.
since it happens on the most important page of the site, the checkout page, I prefer to reduce any problems

@maofree
Copy link
Author

maofree commented Mar 8, 2024

Hi
yesterday I learned that on a third site a customer had also had the same error when creating an address. However, they are sites with many users, and this problem only occurs with some, so I think it's a compatibility issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working waiting for author waiting for author
Projects
None yet
Development

No branches or pull requests

2 participants