Skip to content

Commit

Permalink
Merge pull request #646 from AkshataKatwal16/reassign-cohorts
Browse files Browse the repository at this point in the history
Issue feat: Comment date validation
  • Loading branch information
itsvick authored Jan 24, 2025
2 parents 9c54d62 + 4a3eb5e commit 0093b4b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/GeneratedSchemas.ts
Original file line number Diff line number Diff line change
Expand Up @@ -247,8 +247,8 @@ export const GenerateSchemaAndUiSchema = (
fieldSchema.pattern = getCurrentYearPattern();
}
if (field?.validation?.includes('dob')) {
fieldSchema.minimum = '1900-01-01';
fieldSchema.maximum = getLastDayDate();
// fieldSchema.minimum = '1900-01-01';
// fieldSchema.maximum = getLastDayDate();
}
fieldSchema.validation = field.validation;
}
Expand Down

0 comments on commit 0093b4b

Please sign in to comment.