fix: restore old select selectors for label to still support the temp design select
deprecated the temp design select in favor of the new one
This commit is contained in:
@@ -5,7 +5,7 @@ import { useIntl } from "react-intl"
|
||||
|
||||
import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon"
|
||||
|
||||
import Select from "@/components/TempDesignSystem/Select"
|
||||
import DeprecatedSelect from "@/components/TempDesignSystem/DeprecatedSelect"
|
||||
import Caption from "@/components/TempDesignSystem/Text/Caption"
|
||||
|
||||
import styles from "./child-selector.module.css"
|
||||
@@ -100,7 +100,7 @@ export default function ChildInfoSelector({
|
||||
<>
|
||||
<div key={index} className={styles.childInfoContainer}>
|
||||
<div>
|
||||
<Select
|
||||
<DeprecatedSelect
|
||||
required={true}
|
||||
items={ageList}
|
||||
label={ageLabel}
|
||||
@@ -116,7 +116,7 @@ export default function ChildInfoSelector({
|
||||
</div>
|
||||
<div>
|
||||
{child.age >= 0 ? (
|
||||
<Select
|
||||
<DeprecatedSelect
|
||||
items={getAvailableBeds(child.age)}
|
||||
label={bedLabel}
|
||||
aria-label={bedLabel}
|
||||
|
||||
Reference in New Issue
Block a user