mirror of
https://github.com/chillpadclub/bedolaga-cabinet.git
synced 2026-07-28 17:43:47 +00:00
fix: allow clearing number inputs and add validation
- Add inputHelpers utility for number inputs that allow empty values - Update tariff, campaign, promo offers, and server forms - Add validation for required fields (deviceLimit, tierLevel, dailyPrice) - Add placeholders and error indicators for empty required fields - Add fieldRequired and dailyPriceRequired translations
This commit is contained in:
@@ -1770,6 +1770,7 @@
|
||||
"deviceLimitLabel": "Устройств в тарифе",
|
||||
"tierLevelLabel": "Уровень тарифа",
|
||||
"tierLevelHint": "Влияет на доступность перехода между тарифами",
|
||||
"fieldRequired": "Обязательное поле",
|
||||
"periodsTabHint": "Добавьте периоды и цены для тарифа. Пользователи смогут выбирать из добавленных периодов.",
|
||||
"addPeriodTitle": "Добавить период",
|
||||
"daysLabel": "Дней",
|
||||
@@ -1818,7 +1819,8 @@
|
||||
"periodType": "Периодный",
|
||||
"dailyPriceLabel": "Цена за день",
|
||||
"currencyPerDay": "₽/день",
|
||||
"dailyDeductionDesc": "Списывается ежедневно с баланса пользователя"
|
||||
"dailyDeductionDesc": "Списывается ежедневно с баланса пользователя",
|
||||
"dailyPriceRequired": "Укажите цену за день больше 0"
|
||||
},
|
||||
"servers": {
|
||||
"title": "Управление серверами",
|
||||
|
||||
Reference in New Issue
Block a user