Skip to content

Commit

Permalink
fix(inputs): add hidden input to datepickerinput
Browse files Browse the repository at this point in the history
  • Loading branch information
ribeirojose committed Apr 8, 2024
1 parent c5e17ca commit 2130de4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/FormBuilder/fields/DatePickerInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ export const DatePickerInput = withConditional<DatePickerInputProps>(
</Popover>
<FormDescription>{field.description}</FormDescription>
<FormMessage />
<input hidden {...formField} value={formField.value} />
</FormItem>
)}
/>
Expand Down

0 comments on commit 2130de4

Please sign in to comment.