@7shifts/sous-chef 3.63.0 → 3.63.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +7 -1
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +7 -1
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.modern.js
CHANGED
|
@@ -11725,7 +11725,13 @@ const DateField = ({
|
|
|
11725
11725
|
}
|
|
11726
11726
|
setInputValue(event.target.value);
|
|
11727
11727
|
},
|
|
11728
|
-
onBlur:
|
|
11728
|
+
onBlur: event => {
|
|
11729
|
+
controllers.onBlur();
|
|
11730
|
+
if (event.target.value === '') {
|
|
11731
|
+
// @ts-expect-error the types will be changed on the next major release https://github.com/7shifts/sous-chef/pull/356
|
|
11732
|
+
controllers.onChange(undefined);
|
|
11733
|
+
}
|
|
11734
|
+
},
|
|
11729
11735
|
maxLength: _format.length,
|
|
11730
11736
|
value: inputValue
|
|
11731
11737
|
})), showCalendar && React__default.createElement(Calendar, {
|