We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 365f82b commit efbe320Copy full SHA for efbe320
Signum.React/Scripts/SearchControl/FilterBuilder.tsx
@@ -394,8 +394,13 @@ export function FilterGroupComponent(p: FilterGroupComponentsProps) {
394
}
395
396
function isFilterActive(fo: FilterOptionParsed) {
397
- return fo.pinned == null ||
398
- fo.pinned.active == null /*Always*/ ||
+ if (fo.pinned == null)
+ return true;
399
+
400
+ if (fo.pinned.splitText && (fo.value == null || fo.value == ""))
401
+ return false;
402
403
+ return fo.pinned.active == null /*Always*/ ||
404
fo.pinned.active == "Always" ||
405
fo.pinned.active == "Checkbox_StartChecked" ||
406
fo.pinned.active == "WhenHasValue" && !(fo.value == null || fo.value == "");
0 commit comments