@goldenpine/react-form-builder2 0.20.3-build.25 → 0.20.3-build.26

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.
@@ -824,7 +824,7 @@ var Camera = /*#__PURE__*/function (_React$Component17) {
824
824
  sourceDataURL = "data:image/png;base64,".concat(this.props.defaultValue);
825
825
  }
826
826
  }
827
- if (this.props.data.upload_layout === "standard") {
827
+ if (this.props.data.upload_layout !== "dropzone") {
828
828
  return /*#__PURE__*/_react["default"].createElement("div", {
829
829
  style: _objectSpread({}, this.props.style),
830
830
  className: baseClasses
@@ -1005,7 +1005,7 @@ var FileUpload = /*#__PURE__*/function (_React$Component18) {
1005
1005
  if (this.props.data.pageBreakBefore) {
1006
1006
  baseClasses += ' alwaysbreak';
1007
1007
  }
1008
- if (this.props.data.upload_layout === 'standard') {
1008
+ if (this.props.data.upload_layout !== 'dropzone') {
1009
1009
  return /*#__PURE__*/_react["default"].createElement("div", {
1010
1010
  style: _objectSpread({}, this.props.style),
1011
1011
  className: baseClasses
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@goldenpine/react-form-builder2",
3
- "version": "0.20.3-build.25",
3
+ "version": "0.20.3-build.26",
4
4
  "description": "A complete form builder for react.",
5
5
  "main": "lib/index.js",
6
6
  "types": "types/index.d.ts",