ita-social-projects / GreenCity

The main aim of “GreenCity” project is to teach people in a playful and challenging way to have an eco-friendly lifestyle. A user can view on the map places that have some eco-initiatives or suggest discounts for being environmentally aware (for instance, coffee shops that give a discount if a customer comes with their own cup). А user can start doing an environment-friendly habit and track their progress with a habit tracker.
MIT License
65 stars 80 forks source link

[Change request to #2199] Fill in address details - Error messages #5213

Open olyatyshchenko opened 1 year ago

olyatyshchenko commented 1 year ago

Acceptance criteria:

  1. When the user enters more characters then allowed the input field should be highlighted in red and the error message should be displayed under the field with incorrect data:

a. for ‘Місто’ field: EN - “The field should contain 1-30 characters” UA - “Поле повинно містити 1-30 символів”

b. for ‘Вулиця’ field: EN - “The field should contain 1-120 characters” UA - “Поле повинно містити 1-120 символів”

b. for ‘Будинок’ field: EN - “The field should contain 1-4 characters” UA - “Поле повинно містити 1-4 символів”

c. for ‘Корпус’ field: EN - “The field should contain 1-4 characters” UA - “Поле повинно містити 1-4 символів”

d. for ‘Під’їзд’ field: EN - “The field should contain 1-2 characters” UA - “Поле повинно містити 1-2 символи”

Related to:

User Story

2199, #3811, #2533, #5200

Epic: UBS courier #2195

HalynaChornevych commented 1 year ago

NOT RELEVANT