|
|
@ -115,7 +115,7 @@ const booleanOptions = [ |
|
|
|
const componentMap: Partial<Record<FilterType, any>> = $computed(() => { |
|
|
|
const componentMap: Partial<Record<FilterType, any>> = $computed(() => { |
|
|
|
return { |
|
|
|
return { |
|
|
|
// use MultiSelect for SingleSelect columns for anyof / nanyof filters |
|
|
|
// use MultiSelect for SingleSelect columns for anyof / nanyof filters |
|
|
|
isSingleSelect: ['anyof', 'nanyof'].includes(props.filter.comparison_op) ? MultiSelect : SingleSelect, |
|
|
|
isSingleSelect: ['anyof', 'nanyof'].includes(props.filter.comparison_op!) ? MultiSelect : SingleSelect, |
|
|
|
isMultiSelect: MultiSelect, |
|
|
|
isMultiSelect: MultiSelect, |
|
|
|
isDate: DatePicker, |
|
|
|
isDate: DatePicker, |
|
|
|
isYear: YearPicker, |
|
|
|
isYear: YearPicker, |
|
|
|