cloud-b2b 1.1.71 → 1.1.72
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.
|
@@ -236,6 +236,9 @@ var InputSearch = /*#__PURE__*/function (_React$Component) {
|
|
|
236
236
|
props.dataSource = _this.getDataSource();
|
|
237
237
|
props.filterOption = filter ? _this.isMatch : false;
|
|
238
238
|
}
|
|
239
|
+
if (_this.props.placeholder) {
|
|
240
|
+
props.placeholder = _this.props.placeholder;
|
|
241
|
+
}
|
|
239
242
|
return props;
|
|
240
243
|
});
|
|
241
244
|
_this.state = {
|
|
@@ -428,7 +428,6 @@ var SuperForm2 = /*#__PURE__*/function (_React$Component2) {
|
|
|
428
428
|
props.options = _this2.getOptions(control.key, control.options);
|
|
429
429
|
props.onSearch = _this2.createSearchEvent(control);
|
|
430
430
|
props.dropdownMatchSelectWidth = false;
|
|
431
|
-
props.placeholder = props.placeholder || '';
|
|
432
431
|
return /*#__PURE__*/React.createElement(Control, props);
|
|
433
432
|
});
|
|
434
433
|
_defineProperty(_this2, "toDate", function (props, _ref7) {
|
|
@@ -470,7 +469,6 @@ var SuperForm2 = /*#__PURE__*/function (_React$Component2) {
|
|
|
470
469
|
props.options = _this2.getOptions(control.key, control.options);
|
|
471
470
|
props.onSearch = _this2.createSearchEvent(control);
|
|
472
471
|
props.dropdownMatchSelectWidth = false;
|
|
473
|
-
props.placeholder = props.placeholder || '';
|
|
474
472
|
return /*#__PURE__*/React.createElement(Control, props);
|
|
475
473
|
});
|
|
476
474
|
_defineProperty(_this2, "area", function (props, _ref1) {
|
|
@@ -244,6 +244,9 @@ var InputSearch = /*#__PURE__*/function (_React$Component) {
|
|
|
244
244
|
props.dataSource = _this.getDataSource();
|
|
245
245
|
props.filterOption = filter ? _this.isMatch : false;
|
|
246
246
|
}
|
|
247
|
+
if (_this.props.placeholder) {
|
|
248
|
+
props.placeholder = _this.props.placeholder;
|
|
249
|
+
}
|
|
247
250
|
return props;
|
|
248
251
|
});
|
|
249
252
|
_this.state = {
|
|
@@ -439,7 +439,6 @@ var SuperForm2 = /*#__PURE__*/function (_React$Component2) {
|
|
|
439
439
|
props.options = _this2.getOptions(control.key, control.options);
|
|
440
440
|
props.onSearch = _this2.createSearchEvent(control);
|
|
441
441
|
props.dropdownMatchSelectWidth = false;
|
|
442
|
-
props.placeholder = props.placeholder || '';
|
|
443
442
|
return /*#__PURE__*/_react["default"].createElement(_Control["default"], props);
|
|
444
443
|
});
|
|
445
444
|
(0, _defineProperty2["default"])(_this2, "toDate", function (props, _ref7) {
|
|
@@ -481,7 +480,6 @@ var SuperForm2 = /*#__PURE__*/function (_React$Component2) {
|
|
|
481
480
|
props.options = _this2.getOptions(control.key, control.options);
|
|
482
481
|
props.onSearch = _this2.createSearchEvent(control);
|
|
483
482
|
props.dropdownMatchSelectWidth = false;
|
|
484
|
-
props.placeholder = props.placeholder || '';
|
|
485
483
|
return /*#__PURE__*/_react["default"].createElement(_Control["default"], props);
|
|
486
484
|
});
|
|
487
485
|
(0, _defineProperty2["default"])(_this2, "area", function (props, _ref1) {
|