dtable-ui-component 6.0.110-ast.11 → 6.0.110-ast.12
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.
|
@@ -239,7 +239,7 @@ class SelectOptionGroup extends _react.Component {
|
|
|
239
239
|
className: "editor-list-delete mb-2",
|
|
240
240
|
onClick: e => e.stopPropagation(),
|
|
241
241
|
children: value.label || ''
|
|
242
|
-
}), searchable && /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
242
|
+
}), searchable && this.filterOptions && this.filterOptions.length > 10(/*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
243
243
|
className: "seatable-option-group-search",
|
|
244
244
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_DTableCustomizeSearchInput.default, {
|
|
245
245
|
className: "option-search-control",
|
|
@@ -249,7 +249,7 @@ class SelectOptionGroup extends _react.Component {
|
|
|
249
249
|
autoFocus: true,
|
|
250
250
|
isClearable: true
|
|
251
251
|
})
|
|
252
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
252
|
+
})), /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
253
253
|
className: "seatable-option-group-content",
|
|
254
254
|
ref: ref => this.optionGroupContentRef = ref,
|
|
255
255
|
children: this.renderOptGroup(searchVal)
|
|
@@ -260,7 +260,7 @@ class SelectOptionGroup extends _react.Component {
|
|
|
260
260
|
className: "editor-list-delete",
|
|
261
261
|
onClick: e => e.stopPropagation(),
|
|
262
262
|
children: value.label || ''
|
|
263
|
-
}), searchable && /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
263
|
+
}), searchable && this.filterOptions && this.filterOptions.length > 10 && /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
264
264
|
className: "option-group-search",
|
|
265
265
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_DTableSearchInput.default, {
|
|
266
266
|
className: "option-search-control",
|