namirasoft-site-react 1.4.142 → 1.4.143

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.
@@ -151,7 +151,7 @@ export class NSBoxBaseCombo extends React.Component {
151
151
  console.log({ x });
152
152
  }, filterOption: (search, row) => {
153
153
  if (row)
154
- return SearchOperation.match(row.title, search) && SearchOperation.match(row.value, search);
154
+ return SearchOperation.match(row.title, search) || SearchOperation.match(row.value, search);
155
155
  return false;
156
156
  }, suffixIcon: _jsx("img", { src: "https://static.namirasoft.com/image/concept/arrow/down/blue.svg", width: 24, height: 24, style: { position: "relative", right: "-7px" }, alt: "SelectBox Icon" }) }) })));
157
157
  }
package/package.json CHANGED
@@ -8,7 +8,7 @@
8
8
  "framework": "npm",
9
9
  "application": "package",
10
10
  "private": false,
11
- "version": "1.4.142",
11
+ "version": "1.4.143",
12
12
  "author": "Amir Abolhasani",
13
13
  "license": "MIT",
14
14
  "main": "./dist/main.js",
@@ -242,7 +242,7 @@ export class NSBoxBaseCombo<Data> extends React.Component<NSBoxBaseComboProps<Da
242
242
  filterOption={(search, row) =>
243
243
  {
244
244
  if (row)
245
- return SearchOperation.match(row.title, search) && SearchOperation.match(row.value, search);
245
+ return SearchOperation.match(row.title, search) || SearchOperation.match(row.value, search);
246
246
  return false;
247
247
  }}
248
248
  suffixIcon={<img src="https://static.namirasoft.com/image/concept/arrow/down/blue.svg" width={24} height={24} style={{ position: "relative", right: "-7px" }} alt="SelectBox Icon" />}