Fix error with select initial state
This commit is contained in:
parent
b3f7ba9b1a
commit
e97fc985e2
@ -98,11 +98,14 @@ export function UserProfileFormFields(props: UserProfileFormFieldsProps) {
|
|||||||
}
|
}
|
||||||
value={value}
|
value={value}
|
||||||
>
|
>
|
||||||
|
<>
|
||||||
|
<option value="" selected disabled hidden>Select an option</option>
|
||||||
{options.options.map(option => (
|
{options.options.map(option => (
|
||||||
<option key={option} value={option}>
|
<option key={option} value={option}>
|
||||||
{option}
|
{option}
|
||||||
</option>
|
</option>
|
||||||
))}
|
))}
|
||||||
|
</>
|
||||||
</select>
|
</select>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user