Skip to content

Commit

Permalink
clear errors on status change
Browse files Browse the repository at this point in the history
  • Loading branch information
dbarkowsky committed Sep 9, 2024
1 parent 4d4b418 commit bbfe2af
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions react-app/src/components/projects/ProjectDialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ export const ProjectGeneralInfoDialog = (props: IProjectGeneralInfoDialog) => {
TimestampTypes,
});
}
projectFormMethods.clearErrors();
}, [projectFormMethods.watch('StatusId'), lookupData]); //When status id changes, fetch a new set of tasks possible for this status...

useEffect(() => {
Expand Down

0 comments on commit bbfe2af

Please sign in to comment.