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:
@@ -1,7 +1,7 @@
|
||||
"use client"
|
||||
import { useController, useFormContext } from "react-hook-form"
|
||||
|
||||
import ReactAriaSelect from "@/components/TempDesignSystem/Select"
|
||||
import DeprecatedSelect from "@/components/TempDesignSystem/DeprecatedSelect"
|
||||
|
||||
import type { SelectProps } from "./select"
|
||||
|
||||
@@ -22,7 +22,7 @@ export default function Select({
|
||||
})
|
||||
|
||||
return (
|
||||
<ReactAriaSelect
|
||||
<DeprecatedSelect
|
||||
className={className}
|
||||
defaultSelectedKey={field.value}
|
||||
disabled={disabled || field.disabled}
|
||||
|
||||
Reference in New Issue
Block a user