StreetCode
StreetCode copied to clipboard
[Functional] [Admin/StreetCode][Основний текст][Авторство] The number of characters displays incorrectly in the character counter below the 'Основний текст' and 'Авторство' fields after saving Streetcode
trafficstars
Environment: macOS Sonoma Version 14.6.1, Google Chrome Version 129.0.6668.90 (arm64) Reproducible: Always Build found: commit 30424bf
Preconditions
- User is logged as admin.
- The Page 'Стріткоди' is opened.
Steps to reproduce
- Click on the 'Новий стріткод' button or on the edit button on the previously created Streetcode.
- Scroll down to the Admin/Text and Video block.
- Add text with 64 characters to the 'Основний текст' field
- Add text with 200 characters to the 'Авторство' field
- Click on the 'Зберегти як чернетку' button
- Click 'OK' on the 'Повідомлення з stage.streetcode.com.ua' modal window
- Stay on the page, scroll up and pay attention to the character counters below the 'Основний текст' and the 'Авторство' fields
Actual result Character counter for the 'Основний текст' field - '0/25000' Character counter for the 'Авторство' field - '29/200'
Expected result The number of characters isn't changed after saving Streetcode: For the 'Основний текст' field - 64/25000 For the 'Авторство' field - 200/200
User story#122