Skip to content
This repository has been archived by the owner on Dec 18, 2024. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
…ie-patient into MAT-7685_PositiveInt
  • Loading branch information
Cecilia Liu committed Oct 17, 2024
2 parents 5099443 + ae657ab commit 3f9d102
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/common/dateTimeInput/DateTimeInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ const DateTimeInput = ({
}: DateTimeInputProps) => {
const handleDateTimeChange = (newValue, context) => {
// Use MUI validation to identify complete dateTime entry.
if (context?.validationError === "invalidDate") {
if (context?.validationError) {
// Partial dateTime entry.
return;
}
Expand Down

0 comments on commit 3f9d102

Please sign in to comment.