@thefreshop/tb 1.0.20 → 1.0.21

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/cjs/index.js CHANGED
@@ -23313,6 +23313,12 @@ const AntBaseModalCreate = ({ modalProps, formProps, props }) => {
23313
23313
  form.resetFields();
23314
23314
  onFinish(data);
23315
23315
  }
23316
+ }, onKeyDown: (e) => {
23317
+ if (props.enterToSubmit !== true) {
23318
+ if (e.key === "Enter") {
23319
+ e.preventDefault();
23320
+ }
23321
+ }
23316
23322
  } },
23317
23323
  column,
23318
23324
  customColumn,