Skip to content

Commit

Permalink
Merge branch 'acceptance' into fix/convert-htmlcollection-to-array-be…
Browse files Browse the repository at this point in the history
…fore-foreach-method-PAGE-4171
  • Loading branch information
dylanBetty authored Feb 29, 2024
2 parents 5f579b6 + eb4a597 commit e679e71
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
## [2.181.1](https://github.com/bettyblocks/material-ui-component-set/compare/v2.181.0...v2.181.1) (2024-02-14)


### Bug Fixes

* set date input to null when there is no value ([3368de6](https://github.com/bettyblocks/material-ui-component-set/commit/3368de65f6ae30487d19008c04950be79e58cd8d))

# [2.181.0](https://github.com/bettyblocks/material-ui-component-set/compare/v2.180.1...v2.181.0) (2024-02-09)


Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "component-set",
"version": "2.181.0",
"version": "2.181.1",
"main": "dist/templates.json",
"license": "UNLICENSED",
"private": false,
Expand Down
4 changes: 2 additions & 2 deletions src/components/dateTimePickerInput.js
Original file line number Diff line number Diff line change
Expand Up @@ -134,8 +134,6 @@
datetimeFormat,
);

if (!parsedValue) return;

if (isValidDate(formatDefaultParse)) {
setSelectedDate(formatDefaultParse);
} else {
Expand All @@ -160,6 +158,8 @@

default:
}
} else {
setSelectedDate(null);
}
}, [parsedValue]);

Expand Down

0 comments on commit e679e71

Please sign in to comment.