From b580f84b6fab521b1d875887bee7665092e7e5c8 Mon Sep 17 00:00:00 2001 From: erikao1998 Date: Wed, 24 Jan 2024 15:25:01 +0200 Subject: [PATCH] Small fixes to organisation select component part 2 --- src/client/components/Choices/OrganisationSelect.tsx | 5 ++++- src/client/locales/en.json | 3 ++- src/client/locales/fi.json | 3 ++- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/src/client/components/Choices/OrganisationSelect.tsx b/src/client/components/Choices/OrganisationSelect.tsx index 4e752cb..71ff79d 100644 --- a/src/client/components/Choices/OrganisationSelect.tsx +++ b/src/client/components/Choices/OrganisationSelect.tsx @@ -54,7 +54,10 @@ const OrganisationList = ({ onChange={(e, data) => onChange(data)} sx={{ width: '50%' }} renderInput={(params) => ( - + )} /> diff --git a/src/client/locales/en.json b/src/client/locales/en.json index 226b39b..295e4d1 100644 --- a/src/client/locales/en.json +++ b/src/client/locales/en.json @@ -21,7 +21,8 @@ "organisationSelect": { "searchButton": "Search", "listInfoText": "Select your partner organisation from the list", - "noResults": "Your partner organisation is not in the database" + "noResults": "Your partner organisation is not in the database", + "autocompleteLabel": "Organisation" }, "questions": { "optionalPartnerOrganisationNameQuestion": "Koordinoivan yhteistyöorganisaation nimi", diff --git a/src/client/locales/fi.json b/src/client/locales/fi.json index 63c577a..7dc06a2 100644 --- a/src/client/locales/fi.json +++ b/src/client/locales/fi.json @@ -21,7 +21,8 @@ "organisationSelect": { "searchButton": "Hae", "listInfoText": "Valitse yhteistyökumppanisi nimi listalta", - "noResults": "Yhteistyökumppaniasi ei löytynyt tietokannasta" + "noResults": "Yhteistyökumppaniasi ei löytynyt tietokannasta", + "autocompleteLabel": "Organisaatio" }, "questions": { "optionalPartnerOrganisationNameQuestion": "Koordinoivan yhteistyöorganisaation nimi",