Djordje Mitrovic 3 年之前
父節點
當前提交
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>
)}

Loading…
取消
儲存