Auto Submit

pull/1/head
autosubmit 2 years ago
parent 962a7279e8
commit ef06bc8cbe

@ -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',

@ -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',

@ -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',

@ -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',

Loading…
Cancel
Save