Skip to content

Commit

Permalink
added disabled in select in PersonalInformation
Browse files Browse the repository at this point in the history
  • Loading branch information
daniloccangucu committed Nov 19, 2024
1 parent 5b72f7a commit 652d029
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,13 @@ export const PersonalInformation = React.memo(({ isDisabled }: { isDisabled: boo
</div>
<div>
<label htmlFor="preferred-language">{t("1-PI-preferred-language")}</label>
<select id="preferred-language" {...register('personalInformation.preferredLanguage')} className="input-modern merriweather-regular font-size--step--1" style={{ cursor: isDisabled ? "not-allowed" : "pointer" }}>
<select
id="preferred-language"
{...register('personalInformation.preferredLanguage')}
className="input-modern merriweather-regular font-size--step--1"
style={{ cursor: isDisabled ? "not-allowed" : "pointer" }}
disabled={isDisabled}
>
<option value="pt">Português</option>
<option value="es">Español</option>
<option value="en">English</option>
Expand Down

0 comments on commit 652d029

Please sign in to comment.