We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9a03230 + 2e8ecdf commit 511722eCopy full SHA for 511722e
frontend/src/app/pages/MainPage/pages/VariablePage/DefaultValue.tsx
@@ -108,7 +108,9 @@ export const DefaultValue = memo(
108
109
const datePickerConfirm = useCallback(
110
val => {
111
- saveRegular(val);
+ if (val) {
112
+ saveRegular(val);
113
+ }
114
},
115
[saveRegular],
116
);
@@ -142,7 +144,7 @@ export const DefaultValue = memo(
142
144
format={TIME_FORMATTER}
143
145
className="input"
146
disabled={!!disabled}
- onOk={datePickerConfirm}
147
+ onChange={datePickerConfirm}
148
showNow
149
showTime
150
/>
0 commit comments