Skip to content

Commit

Permalink
🐛 Update validation method to address datepicker event firing (#1628)
Browse files Browse the repository at this point in the history
[[Regression][Migration wave] False error when clicking on a date picker
for the first time on the create
wizard](https://issues.redhat.com/browse/MTA-1871)

Signed-off-by: ibolton336 <[email protected]>
  • Loading branch information
ibolton336 authored Dec 15, 2023
1 parent 61235d2 commit 67ab924
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 67ab924

Please sign in to comment.