-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: [DHIS2-15462] Use dhis2 UI calendarinput component in forms (#3658
) * feat: use calendarInput component in forms * fix: add disabled to calendar input * fix: remove ref * fix: flow errors * chore: update tests * feat: add error messages * fix: date and dateTime errors to display only once * feat: add errors to main field * feat: add validation to dateTime & age fields * feat: scheduleDate reset when there is invalid date * fix: width & calendarWidth to be string * fix: schedule date in related stages to display calendarInput internal errors * fix: remove current context from function * fix: enrollment date input fields * fix: refactor incident date validation to use form validations * feat: eventDate validation to use internal error from calendarInput * fix: pass validationContext for unique validator * fix: always pass current context * chore: update calendarInput ui version * fix: update rules engine version * fix: runtime error when date is null * fix: flow types * fix: failing tests
- Loading branch information
1 parent
85270db
commit f39fd47
Showing
74 changed files
with
613 additions
and
947 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.