Skip to content

Commit

Permalink
🐛 Update validation method to address datepicker event firing
Browse files Browse the repository at this point in the history
Signed-off-by: ibolton336 <[email protected]>
  • Loading branch information
ibolton336 committed Dec 15, 2023
1 parent 61235d2 commit 9350b20
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ export const WaveForm: React.FC<WaveFormProps> = ({
watch,
trigger,
} = useForm<WaveFormValues>({
mode: "all",
mode: "onChange",
defaultValues: {
name: migrationWave?.name || "",
startDateStr: migrationWave?.startDate
Expand Down

0 comments on commit 9350b20

Please sign in to comment.