From a54c664c5870f065f2365ad74abd65004dd3f979 Mon Sep 17 00:00:00 2001 From: aeberhardt <alexandre.eberhardt@savoirfairelinux.com> Date: Fri, 24 Jan 2025 12:51:52 -0500 Subject: [PATCH] signin: Add required property for country (CA) During the Certificate Authority creation, the admin must choose a country. This is required and locked, but the property was missing, so the "*" was not displayed. However, it was already not possible to create a CA without a country; this change is purely visual. Change-Id: I7a852ccb9d6f13a1552d4d17cab1a8bc1696a463 --- jams-react-client/src/components/CountrySelect/CountrySelect.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/jams-react-client/src/components/CountrySelect/CountrySelect.tsx b/jams-react-client/src/components/CountrySelect/CountrySelect.tsx index 1ff6df75..3bdc40da 100644 --- a/jams-react-client/src/components/CountrySelect/CountrySelect.tsx +++ b/jams-react-client/src/components/CountrySelect/CountrySelect.tsx @@ -71,6 +71,7 @@ export default function CountrySelect({ renderInput={(params) => ( <TextField {...params} + required label={i18next.t("choose_a_country", "Choose a country") as string} name="country" variant="outlined" -- GitLab