Djordje Mitrovic 3 лет назад
Родитель
Сommit
2c1ccf689c
1 измененных файлов: 6 добавлений и 0 удалений
  1. 6
    0
      src/components/ProfileCard/EditProfile/EditProfile.js

+ 6
- 0
src/components/ProfileCard/EditProfile/EditProfile.js Просмотреть файл

@@ -129,6 +129,7 @@ const EditProfile = (props) => {
error={formik.touched.firmPIB && formik.errors.firmPIB}
margin="normal"
fullWidth
disabled
/>
<InputFieldLabel
leftText={t("common.labelLocation").toUpperCase()}
@@ -175,6 +176,11 @@ const EditProfile = (props) => {
error={formik.touched.firmPhone && formik.errors.firmPhone}
margin="normal"
fullWidth
onInput={(e) => {
e.target.value = Math.max(0, parseInt(e.target.value))
.toString()
.slice(0, 14);
}}
/>
</DetailsInfo>
)}

Загрузка…
Отмена
Сохранить