@innoways/drip-form-theme-antd 5.0.0 → 5.0.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/CHANGELOG.md +6 -0
- package/dist/index.js +3 -2
- package/package.json +1 -1
- package/build-info/index.stats.html +0 -2648
package/CHANGELOG.md
CHANGED
package/dist/index.js
CHANGED
|
@@ -21529,7 +21529,7 @@ var DatePickerField = function DatePickerField(_ref) {
|
|
|
21529
21529
|
if (range) {
|
|
21530
21530
|
setValid(moment(fieldData[0], format).isValid() && moment(fieldData[1], format).isValid());
|
|
21531
21531
|
} else {
|
|
21532
|
-
setValid(moment(fieldData
|
|
21532
|
+
setValid(moment(fieldData).isValid());
|
|
21533
21533
|
}
|
|
21534
21534
|
}
|
|
21535
21535
|
} catch (error) {
|
|
@@ -21553,8 +21553,9 @@ var DatePickerField = function DatePickerField(_ref) {
|
|
|
21553
21553
|
}, restProps)) : /*#__PURE__*/React.createElement(_DatePicker, _extends({
|
|
21554
21554
|
picker: picker
|
|
21555
21555
|
}, isValid ? {
|
|
21556
|
-
value: fieldData ? moment(fieldData
|
|
21556
|
+
value: fieldData ? moment(fieldData) : null
|
|
21557
21557
|
} : null, {
|
|
21558
|
+
format: format,
|
|
21558
21559
|
disabled: disabled,
|
|
21559
21560
|
onChange: _onChange,
|
|
21560
21561
|
locale: locale,
|