education and occupation inputs and their validation

This commit is contained in:
2023-12-19 10:59:06 +03:30
parent 62670863a1
commit cd3560083d
8 changed files with 357 additions and 290 deletions

View File

@@ -42,8 +42,8 @@ function SelectBox({
</MenuItem>
) : (
selectors.map((selector) => (
<MenuItem key={selector.id} value={selector.value}>
{selector.name}
<MenuItem key={selector.id} value={selector.value || selector.id}>
{selector.name || selector.title}
</MenuItem>
))
)}