Hybrid labels provision
Closed this issue · 1 comments
vasnt commented
nainglinnkhant commented
Assuming you are talking about two fields in one column and it must be filterable, you can build the query as below in the queries.ts
file.
const [fieldOneValue, fieldTwoValue] = twoFieldColumn.split('-')
if (fieldOneValue) {
filterColumn({
column: tasks.fieldOne,
value: fieldOneValue,
})
}
if (fieldTwoValue) {
filterColumn({
column: tasks.fieldTwo,
value: fieldTwoValue,
})
}