monkey-front-components 0.0.390 → 0.0.393

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.
@@ -707,7 +707,8 @@ class MECXDynamicFileUploadComponent {
707
707
  // eslint-disable-next-line object-curly-newline
708
708
  this._formErrors = {};
709
709
  this._function = (file, callback) => {
710
- if (this._form?.disabled)
710
+ const { _form } = this;
711
+ if (_form?.disabled)
711
712
  return;
712
713
  if (!this._field?.functions?.onHandleUpload) {
713
714
  console.error('onHandleUpload not declared');
@@ -718,7 +719,7 @@ class MECXDynamicFileUploadComponent {
718
719
  console.error('onHandleUpload not declared');
719
720
  return;
720
721
  }
721
- this.self[func](file, type, callback);
722
+ this.self[func](file, type, callback, _form);
722
723
  };
723
724
  // not to do
724
725
  }