Answer the question
In order to leave comments, you need to log in
The bitrix:sale.order.ajax component in the user block is substituted with an extra 7 in the phone number when changing the payment method. How to fix?
We fill in all the blocks in the form:
Delivery
method Payment method
User (full name, phone, email)
Then, we change the payment method, and the User form is updated and an extra 7 is inserted in the phone number field at the very beginning, and the phone number moves to the right. This seven eats up the last digit, replacing it with itself at the very beginning.
For example, it was like this:
+7 (966) 666-66-61
after changing the form of payment is already like this:
+7 (796) 666-66-66
Answer the question
In order to leave comments, you need to log in
Somehow I came across such a topic, the problem was in the phone input mask.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question