@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.
- package/dist/app.js +1 -1
- package/lib/form-elements/index.js +2 -2
- package/package.json +1 -1
|
@@ -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
|
|
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
|
|
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
|