it-volunteers-ukraine / ChariERP

0 stars 0 forks source link

BUG Registration page/ Contact Information/ Representative's phone number Field #191

Closed KatyPupa closed 2 months ago

KatyPupa commented 2 months ago

Environment Desktop:

OS: macOS Sonoma 14.5 Browser: Safari Version 17.5

Pre-conditions:

https://chari-erp-dev-5jqgv.ondigitalocean.app/sign-up - page is opened

https://github.com/it-volunteers-ukraine/ChariERP/milestone/5

Description:

An incorrect error message in the Representative's phone number field appears when an incorrect number of characters is entered. The cursor in the mask is not in the right place.

Steps to reproduce:

  1. The user is on the Контактна інформація / Contact Information section of the registration form.
  2. Enter fewer than 9 digits in the phone number field (e.g., 6712345).

Actual results:

An error message appears: "Неправильно набраний номер" The cursor in the mask stands at the beginning of the field and prompts the user to enter +38 (0__

Expected results: An error message appears: ""Будь ласка, введіть 9 цифр". The cursor in the mask stands after the country code so that the user enters 9 digits.

Screenshots:

Знімок екрана 2024-09-16 о 15 54 52 Знімок екрана 2024-09-16 о 16 29 14
KatyPupa commented 2 months ago

Additions:

Image

KatyPupa commented 2 months ago

@Kyslytsia, Must be cleaned the field from the phone number after successfully sending the application Image