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
This commit is contained in:
Matilda Landström
2025-11-27 12:06:46 +00:00
parent c69993fa96
commit 9ad9e374e8
3 changed files with 28 additions and 2 deletions

View File

@@ -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
/>
<Select
<FormSelect
items={languageOptions}
label={intl.formatMessage({
id: "common.language",