Skip to content

Commit

Permalink
Merge pull request #825 from aehrc/issue/822
Browse files Browse the repository at this point in the history
Issue/822
  • Loading branch information
fongsean authored May 29, 2024
2 parents d0e2e0f + e91cd08 commit 03cafbe
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion apps/smart-forms-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"dependencies": {
"@aehrc/sdc-assemble": "^1.2.0",
"@aehrc/sdc-populate": "^2.0.3",
"@aehrc/smart-forms-renderer": "^0.32.1",
"@aehrc/smart-forms-renderer": "^0.32.2",
"@emotion/react": "^11.11.4",
"@emotion/styled": "^11.11.5",
"@fontsource/material-icons": "^5.0.16",
Expand Down
2 changes: 1 addition & 1 deletion documentation/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"typecheck": "tsc"
},
"dependencies": {
"@aehrc/smart-forms-renderer": "^0.32.1",
"@aehrc/smart-forms-renderer": "^0.32.2",
"@docusaurus/core": "3.3.2",
"@docusaurus/preset-classic": "3.3.2",
"@docusaurus/theme-live-codeblock": "^3.3.2",
Expand Down
6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/smart-forms-renderer/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@aehrc/smart-forms-renderer",
"version": "0.32.1",
"version": "0.32.2",
"description": "FHIR Structured Data Captured (SDC) rendering engine for Smart Forms",
"main": "lib/index.js",
"scripts": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ function CustomDateTimeItem(props: CustomDateTimeItemProps) {
}

const { timeIsValid, is24HourNotation } = validateTimeInput(newTimeInput, newPeriodInput);
if (!validateDateInput(dateInput) && !timeIsValid) {
if (!validateDateInput(dateInput) || !timeIsValid) {
return;
}

Expand Down

0 comments on commit 03cafbe

Please sign in to comment.