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