Hello,
I've a system with multiple conditions... if I follow your solution, I've the next awful result:
if(condition,
filter,
if(condition,
filter,
if(condition,
filter,
if(condition,
filter,
table
)
)
)
)
My use case is a bit special because I use a sharepoint with 3 dropdown and 1checkbox, ticked I want show only elements with true value else all elements.
For the 3 dropdown, I want filter the items together if each of them has a value, like being able to filter if there is only 1 that has a value. If none has a value then the filter doesn't apply and return the table filtered by the checkbox or no:
I've an example of my list with 3 fake tasks:
[{
"Title": "one",
"Category": "A",
"ShowInTheMeeting": false,
"Status": "Closed",
"Assign to":UserObj
},
{
"Title": "two",
"Category": "B",
"ShowInTheMeeting": false,
"Status": "Pending",
"Assign to":UserObj
},
{
"Title": "three",
"Category": "A",
"ShowInTheMeeting": true,
"Status": "Opened",
"Assign to":UserObj
}].
That's why I think a filter with a conditionnal value is necessary, because you didn't to repeat your code, or a possibility to create a function on the page without "cheating" with the components to compensate the lack of possibilities