From 15552a4cb6d92bc43e1e4a31e667d4311171b76e Mon Sep 17 00:00:00 2001 From: Tobias Johansson Date: Tue, 3 Dec 2024 15:49:36 +0100 Subject: [PATCH] fix(SW-1043): added input required messages --- components/TempDesignSystem/Form/Country/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/TempDesignSystem/Form/Country/index.tsx b/components/TempDesignSystem/Form/Country/index.tsx index ea6e1867a..850e841c1 100644 --- a/components/TempDesignSystem/Form/Country/index.tsx +++ b/components/TempDesignSystem/Form/Country/index.tsx @@ -50,7 +50,7 @@ export default function CountrySelect({ }) function handleChange(country: Key) { - setValue(name, country) + setValue(name, country ?? "") } const selectCountryLabel = intl.formatMessage({ id: "Select a country" })