Merge branch 'hotfix/2022-02-14' into release/2022-02-18

This commit is contained in:
Patrick Fic
2022-02-14 19:33:13 -08:00
2 changed files with 13 additions and 10 deletions

View File

@@ -19,13 +19,14 @@ const DateTimePicker = (
return (
<div id={id}>
<FormDatePicker
{...(onlyFuture && {
disabledDate: (d) => moment().subtract(1, "day").isAfter(d),
})}
value={value}
onBlur={onBlur}
onChange={onChange}
{...restProps}
{...restProps}
{...(onlyFuture && {
disabledDate: (d) => moment().subtract(1, "day").isAfter(d),
})}
value={value}
onBlur={onBlur}
onChange={onChange}
isDateOnly={false}
/>
<TimePicker