Skip to content

Commit

Permalink
TS-949 Create language selection
Browse files Browse the repository at this point in the history
- Fix after coderabbit review
  • Loading branch information
birkirkristmunds committed Jan 22, 2025
1 parent cb76996 commit 766a893
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ export const transformApplicationToNewPrimarySchoolDTO = (
hasDiagnoses: developmentalAssessment === YES,
}, // Languages needs to be updated when Juni is ready with the data struccture
language: {
nativeLanguage: undefined,
nativeLanguage: '',
noIcelandic: false,
otherLanguages: undefined,
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,10 @@ const LanguageSelection: FC<React.PropsWithChildren<FieldBaseProps>> = ({
newPrimarySchoolMessages.differentNeeds.languageSelectionTitle,
{ no: `${index + 1}` },
)}
aria-label={formatMessage(
newPrimarySchoolMessages.differentNeeds.languageSelectionAriaLabel,
{ no: `${index + 1}` },
)}
placeholder={formatMessage(
newPrimarySchoolMessages.differentNeeds
.languageSelectionPlaceholder,
Expand Down

0 comments on commit 766a893

Please sign in to comment.