ar-design 0.2.1 → 0.2.2

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.
@@ -308,8 +308,8 @@ const TableWithRef = forwardRef(({ children, title, description, data, columns,
308
308
  const name = typeof c.key !== "object" ? String(c.key) : String(c.key.field);
309
309
  return (React.createElement("li", { key: `filters-${fIndex}-${Math.random()}` },
310
310
  React.createElement(Checkbox, { ref: (element) => (_filterCheckboxItems.current[fIndex] = element), label: filter.text, name: name, status: "success", value: filter.text, checked: config.isServerSide
311
- ? _searchedParams?.[name]?.includes(filter.text)
312
- : searchedText?.[name]?.includes(filter.text), onChange: handleChecboxFilter })));
311
+ ? _searchedParams?.[name]?.includes(String(filter.value))
312
+ : searchedText?.[name]?.includes(String(filter.value)), onChange: handleChecboxFilter })));
313
313
  }))) },
314
314
  _filterCheckboxItems.current.filter((item) => item?.checked).length > 0 && (React.createElement("div", { style: {
315
315
  position: "absolute",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ar-design",
3
- "version": "0.2.1",
3
+ "version": "0.2.2",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",