Djordje Mitrovic 3 lat temu
rodzic
commit
2c1ccf689c

+ 6
- 0
src/components/ProfileCard/EditProfile/EditProfile.js Wyświetl plik

@@ -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>
)}

Ładowanie…
Anuluj
Zapisz