diff --git a/p__Classrooms__Lists__Exercise__Detail__index.async.js b/p__Classrooms__Lists__Exercise__Detail__index.async.js index 0737ffe6a9..0d12ac74c7 100644 --- a/p__Classrooms__Lists__Exercise__Detail__index.async.js +++ b/p__Classrooms__Lists__Exercise__Detail__index.async.js @@ -619,12 +619,16 @@ var Knowledge = function Knowledge(_ref) { }, showSearch: true, allowClear: true, - value: values + value: values, + filterOption: function filterOption(input, option) { + return option.label.indexOf(input.toLowerCase()) >= 0; + } // value={knowledgeOptions?.filter(item => values?.includes(item?.id) || values?.includes(item?.id + '')).map((item) => item.name)} , children: knowledgeOptions === null || knowledgeOptions === void 0 ? void 0 : knowledgeOptions.map(function (item) { return /*#__PURE__*/(0,jsx_runtime.jsx)(Option, { value: item.id, + label: item.name, children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { style: { display: 'flex', diff --git a/p__Problems__OjForm__NewEdit__index.async.js b/p__Problems__OjForm__NewEdit__index.async.js index e640d02018..e550d5c529 100644 --- a/p__Problems__OjForm__NewEdit__index.async.js +++ b/p__Problems__OjForm__NewEdit__index.async.js @@ -2208,12 +2208,16 @@ var Knowledge = function Knowledge(_ref) { }, showSearch: true, allowClear: true, - value: values + value: values, + filterOption: function filterOption(input, option) { + return option.label.indexOf(input.toLowerCase()) >= 0; + } // value={knowledgeOptions?.filter(item => values?.includes(item?.id) || values?.includes(item?.id + '')).map((item) => item.name)} , children: knowledgeOptions === null || knowledgeOptions === void 0 ? void 0 : knowledgeOptions.map(function (item) { return /*#__PURE__*/(0,jsx_runtime.jsx)(Option, { value: item.id, + label: item.name, children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { style: { display: 'flex', diff --git a/p__Problems__OjForm__index.async.js b/p__Problems__OjForm__index.async.js index b188507967..4ae2ebf258 100644 --- a/p__Problems__OjForm__index.async.js +++ b/p__Problems__OjForm__index.async.js @@ -2291,12 +2291,16 @@ var Knowledge = function Knowledge(_ref) { }, showSearch: true, allowClear: true, - value: values + value: values, + filterOption: function filterOption(input, option) { + return option.label.indexOf(input.toLowerCase()) >= 0; + } // value={knowledgeOptions?.filter(item => values?.includes(item?.id) || values?.includes(item?.id + '')).map((item) => item.name)} , children: knowledgeOptions === null || knowledgeOptions === void 0 ? void 0 : knowledgeOptions.map(function (item) { return /*#__PURE__*/(0,jsx_runtime.jsx)(Option, { value: item.id, + label: item.name, children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { style: { display: 'flex', diff --git a/p__Problemset__NewItem__index.async.js b/p__Problemset__NewItem__index.async.js index ecf4700f5c..f875ac5992 100644 --- a/p__Problemset__NewItem__index.async.js +++ b/p__Problemset__NewItem__index.async.js @@ -2208,12 +2208,16 @@ var Knowledge = function Knowledge(_ref) { }, showSearch: true, allowClear: true, - value: values + value: values, + filterOption: function filterOption(input, option) { + return option.label.indexOf(input.toLowerCase()) >= 0; + } // value={knowledgeOptions?.filter(item => values?.includes(item?.id) || values?.includes(item?.id + '')).map((item) => item.name)} , children: knowledgeOptions === null || knowledgeOptions === void 0 ? void 0 : knowledgeOptions.map(function (item) { return /*#__PURE__*/(0,jsx_runtime.jsx)(Option, { value: item.id, + label: item.name, children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { style: { display: 'flex',