Renxy 2 年 前
コミット
6c5ffdfdbc
1 ファイル変更1 行追加1 行削除
  1. 1 1
      src/components/DDComponents/ProjectField/index.js

+ 1 - 1
src/components/DDComponents/ProjectField/index.js

@@ -22,7 +22,7 @@ function DDProjectField(props) {
         onChange(String(value));
         onChange(String(value));
       }}
       }}
       filterOption={(input, option) =>
       filterOption={(input, option) =>
-        option.children.join('').toLowerCase().includes(input.toLowerCase())
+        (option?.label ?? '').toLowerCase().includes(input.toLowerCase())
       }
       }
       options={projectList.map((item) => {
       options={projectList.map((item) => {
         return {
         return {