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:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user