fix(dashboard): replace native select Element in CountrySelect & ProvinceSelect with Select(Medusa UI). (#13521)
* fix: replace CountrySelect fallback with Medusa Select * Country Select Component Fix to use Medusa UI Select Component * added Change set * using the props supported by the Select * value should be lowercased if passed from the pareant component * fix province Select with medusa UI select and added change set * bug fix the province with providing --------- Co-authored-by: Aryan Patel <21cs038@charusat.edu.in> Co-authored-by: William Bouchard <46496014+willbouch@users.noreply.github.com>
This commit is contained in:
co-authored by
Aryan Patel
William Bouchard
parent
c54c5ed6de
commit
a1c56d29d0
+1
-2
@@ -4,12 +4,11 @@ import { Button, Input, toast } from "@medusajs/ui"
|
||||
import { useForm } from "react-hook-form"
|
||||
import { useTranslation } from "react-i18next"
|
||||
import * as zod from "zod"
|
||||
|
||||
import { Form } from "../../../../../components/common/form"
|
||||
import { CountrySelect } from "../../../../../components/inputs/country-select"
|
||||
import { RouteDrawer, useRouteModal } from "../../../../../components/modals"
|
||||
import { KeyboundForm } from "../../../../../components/utilities/keybound-form"
|
||||
import { useUpdateStockLocation } from "../../../../../hooks/api/stock-locations"
|
||||
import { CountrySelect } from "../../../../../components/inputs/country-select/country-select"
|
||||
|
||||
type EditLocationFormProps = {
|
||||
location: HttpTypes.AdminStockLocation
|
||||
|
||||
Reference in New Issue
Block a user