@plasmicpkgs/antd5 0.0.76 → 0.0.78

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 CHANGED
@@ -4113,11 +4113,11 @@ function AntdDatePicker(props) {
4113
4113
  (_a = props.onChange) == null ? void 0 : _a.call(props, value !== null ? value.toISOString() : null);
4114
4114
  },
4115
4115
  open,
4116
- onOpenChange: (open2) => {
4117
- if (open2 && window.innerWidth < 500) {
4116
+ onOpenChange: (_open) => {
4117
+ if (_open && window.innerWidth < 500) {
4118
4118
  nativeInput.current.showPicker();
4119
4119
  } else {
4120
- setOpen(open2);
4120
+ setOpen(_open);
4121
4121
  }
4122
4122
  }
4123
4123
  })
@@ -4127,7 +4127,7 @@ function AntdDatePicker(props) {
4127
4127
  hidden: true,
4128
4128
  ref: nativeInput,
4129
4129
  type: props.showTime ? "datetime-local" : "date",
4130
- value: strValue,
4130
+ value: strValue || "",
4131
4131
  onChange: (e) => {
4132
4132
  props.onChange(e.target.value);
4133
4133
  }