@faasjs/ant-design 0.0.3-beta.61 → 0.0.3-beta.62

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.
package/dist/index.js CHANGED
@@ -1556,7 +1556,13 @@ function Table(props) {
1556
1556
  setSelectedKeys((v == null ? void 0 : v.length) ? v : []);
1557
1557
  confirm();
1558
1558
  },
1559
- mode: "multiple"
1559
+ mode: "multiple",
1560
+ filterOption: (input, option) => {
1561
+ if (!input || !option || !option.label)
1562
+ return true;
1563
+ input = input.trim();
1564
+ return option.value === input || option.label.toString().toLowerCase().includes(input.toLowerCase());
1565
+ }
1560
1566
  })
1561
1567
  });
1562
1568
  return newColumns;
package/dist/index.mjs CHANGED
@@ -1563,7 +1563,13 @@ function Table(props) {
1563
1563
  setSelectedKeys((v == null ? void 0 : v.length) ? v : []);
1564
1564
  confirm();
1565
1565
  },
1566
- mode: "multiple"
1566
+ mode: "multiple",
1567
+ filterOption: (input, option) => {
1568
+ if (!input || !option || !option.label)
1569
+ return true;
1570
+ input = input.trim();
1571
+ return option.value === input || option.label.toString().toLowerCase().includes(input.toLowerCase());
1572
+ }
1567
1573
  })
1568
1574
  });
1569
1575
  return newColumns;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@faasjs/ant-design",
3
- "version": "0.0.3-beta.61",
3
+ "version": "0.0.3-beta.62",
4
4
  "license": "MIT",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",