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

正在加载...
取消
保存