fix special request input updating upon editing from the bottom sheet
This commit is contained in:
@@ -43,10 +43,10 @@ export function BottomSheet({
|
||||
showCloseButton={false}
|
||||
initialSnap={1}
|
||||
height={370}
|
||||
snapPoints={["30vh"]}
|
||||
snapPoints={[370]}
|
||||
>
|
||||
<div className="space-y-4">
|
||||
<div>
|
||||
<div>
|
||||
<div style={{ marginTop: 20 }}>
|
||||
<TextArea
|
||||
value={value}
|
||||
onChange={(e) => setValue(e.target.value)}
|
||||
|
||||
@@ -53,7 +53,7 @@ export function Dialog({
|
||||
width={500}
|
||||
destroyOnHidden
|
||||
>
|
||||
<div className="space-y-4">
|
||||
<div>
|
||||
<TextArea
|
||||
value={value}
|
||||
onChange={(e) => setValue(e.target.value)}
|
||||
|
||||
@@ -36,7 +36,6 @@ export default function SpecialRequestCard() {
|
||||
label={t("cart.specialRequest")}
|
||||
name="specialRequest"
|
||||
style={{ position: "relative", top: -5 }}
|
||||
initialValue={specialRequest || ""}
|
||||
>
|
||||
<Input
|
||||
placeholder={t("cart.specialRequest")}
|
||||
|
||||
Reference in New Issue
Block a user