Skip to content

Commit

Permalink
fix missing RO prop
Browse files Browse the repository at this point in the history
  • Loading branch information
thatmattlove committed Aug 14, 2024
1 parent e5f53a8 commit 9feee84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/form/date-field.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ export const DateField = <V extends FieldValues>(props: DateFieldProps<CalendarP
>
<FormLabel as="legend">{label ? label : displayName}</FormLabel>
<Input readOnly value={displayValue} placeholder="Select Date" />
<input name={name} ref={ref} hidden value={formValue} />
<input readOnly name={name} ref={ref} hidden value={formValue} />
<FormErrorMessage>{typeof error !== "undefined" && error.message}</FormErrorMessage>
</FormControl>
</PopoverTrigger>
Expand Down

0 comments on commit 9feee84

Please sign in to comment.