File tree Expand file tree Collapse file tree 1 file changed +15
-3
lines changed
frontend/src/components/grant-form Expand file tree Collapse file tree 1 file changed +15
-3
lines changed Original file line number Diff line number Diff line change @@ -490,7 +490,11 @@ export const GrantForm = ({
490490 >
491491 < Select { ...select ( "needVisa" ) } required = { true } >
492492 < FormattedMessage id = "global.selectOption" >
493- { ( msg ) => < option value = "" > { msg } </ option > }
493+ { ( msg ) => (
494+ < option value = "" disabled = { true } >
495+ { msg }
496+ </ option >
497+ ) }
494498 </ FormattedMessage >
495499 < FormattedMessage id = "global.no" >
496500 { ( msg ) => < option value = "false" > { msg } </ option > }
@@ -512,7 +516,11 @@ export const GrantForm = ({
512516 >
513517 < Select { ...select ( "needAccommodation" ) } required = { true } >
514518 < FormattedMessage id = "global.selectOption" >
515- { ( msg ) => < option value = "" > { msg } </ option > }
519+ { ( msg ) => (
520+ < option value = "" disabled = { true } >
521+ { msg }
522+ </ option >
523+ ) }
516524 </ FormattedMessage >
517525 < FormattedMessage id = "global.no" >
518526 { ( msg ) => < option value = "false" > { msg } </ option > }
@@ -561,7 +569,11 @@ export const GrantForm = ({
561569 >
562570 < Select { ...select ( "needsFundsForTravel" ) } required = { true } >
563571 < FormattedMessage id = "global.selectOption" >
564- { ( msg ) => < option value = "" > { msg } </ option > }
572+ { ( msg ) => (
573+ < option value = "" disabled = { true } >
574+ { msg }
575+ </ option >
576+ ) }
565577 </ FormattedMessage >
566578 < FormattedMessage id = "global.no" >
567579 { ( msg ) => < option value = "false" > { msg } </ option > }
You can’t perform that action at this time.
0 commit comments