From 9ad9e374e8e213b0000cd10917a31afc9a6f99bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matilda=20Landstr=C3=B6m?= Date: Thu, 27 Nov 2025 12:06:46 +0000 Subject: [PATCH] Merged in fix/LOY-398-fix-language-select (pull request #3227) fix(LOY-398): fix language select by creating FormSelect wrapper * fix(LOY-398): fix language select by creating FormSelect wrapper Approved-by: Erik Tiekstra Approved-by: Anton Gunnarsson --- .../Forms/Edit/Profile/FormContent/index.tsx | 4 +-- .../lib/components/Form/FormSelect/index.tsx | 25 +++++++++++++++++++ packages/design-system/package.json | 1 + 3 files changed, 28 insertions(+), 2 deletions(-) create mode 100644 packages/design-system/lib/components/Form/FormSelect/index.tsx diff --git a/apps/scandic-web/components/Forms/Edit/Profile/FormContent/index.tsx b/apps/scandic-web/components/Forms/Edit/Profile/FormContent/index.tsx index 47900d8ee..bad502af6 100644 --- a/apps/scandic-web/components/Forms/Edit/Profile/FormContent/index.tsx +++ b/apps/scandic-web/components/Forms/Edit/Profile/FormContent/index.tsx @@ -7,7 +7,7 @@ import { Divider } from "@scandic-hotels/design-system/Divider" import CountrySelect from "@scandic-hotels/design-system/Form/Country" import DateSelect from "@scandic-hotels/design-system/Form/Date" import Phone from "@scandic-hotels/design-system/Form/Phone" -import { Select } from "@scandic-hotels/design-system/Select" +import { FormSelect } from "@scandic-hotels/design-system/Form/Select" import { Typography } from "@scandic-hotels/design-system/Typography" import { getLocalizedLanguageOptions } from "@/constants/languages" @@ -133,7 +133,7 @@ export default function FormContent({ errors }: { errors: FieldErrors }) { name="phoneNumber" data-hj-suppress /> -