add loan request/change structure and documentary/ making middle ware for user type/update breadcrumb

This commit is contained in:
2023-08-19 13:38:51 +03:30
parent dd239ac46c
commit fd1a6bcf2e
18 changed files with 382 additions and 156 deletions

View File

@@ -10,6 +10,8 @@ function SelectBox({
error,
helperText,
}) {
const selectId = String(select);
const handleChange = (event) => {
setFieldValue(selectType, event.target.value);
};
@@ -28,8 +30,8 @@ function SelectBox({
<InputLabel id="language-label">{label}</InputLabel>
<Select
labelId="language-label"
id={select}
name={select}
id={selectId}
name={selectId}
size="small"
value={select}
onChange={handleChange}