mirror of
https://github.com/pacnpal/thrilltrack-explorer.git
synced 2025-12-24 12:11:12 -05:00
Reverted to commit 10950a4034
This commit is contained in:
@@ -180,15 +180,13 @@ export function ReviewForm({
|
||||
{/* Visit Date */}
|
||||
<div className="space-y-2">
|
||||
<Label>Visit Date</Label>
|
||||
<DatePicker
|
||||
date={watch('visit_date') ? new Date(watch('visit_date')) : undefined}
|
||||
onSelect={(date) => setValue('visit_date', date ? date.toISOString().split('T')[0] : undefined)}
|
||||
placeholder="When did you visit?"
|
||||
disableFuture={true}
|
||||
fromYear={1950}
|
||||
allowTextEntry={true}
|
||||
dateFormat="yyyy-MM-dd"
|
||||
/>
|
||||
<DatePicker
|
||||
date={watch('visit_date') ? new Date(watch('visit_date')) : undefined}
|
||||
onSelect={(date) => setValue('visit_date', date ? date.toISOString().split('T')[0] : undefined)}
|
||||
placeholder="When did you visit?"
|
||||
disableFuture={true}
|
||||
fromYear={1950}
|
||||
/>
|
||||
<p className="text-xs text-muted-foreground">
|
||||
Select the date of your visit to help others understand when this experience occurred.
|
||||
</p>
|
||||
|
||||
Reference in New Issue
Block a user