Skip to content

Commit

Permalink
fix: contains operator doesn't work
Browse files Browse the repository at this point in the history
  • Loading branch information
nextchamp-saqib committed Mar 22, 2024
1 parent 5deda9d commit 85feb6a
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions frontend/src/query/visual/FilterValueSelector.vue
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ const isMultiValue = computed(() => ['in', 'not_in'].includes(operator.value))
const columnValues = ref([])
const fetchingColumnValues = ref(false)
const checkAndFetchColumnValues = debounce(async function (search_text = '') {
debugger
if (!props.column || !operator.value) return
if (!['=', '!=', 'in', 'not_in'].includes(operator.value)) return
if (!props.column.table || !props.column.column || !props.dataSource) return
Expand Down Expand Up @@ -141,7 +140,12 @@ function onOptionSelect(value) {
autocomplete="off"
placeholder="Value"
:modelValue="filterValue?.value"
@update:modelValue="filterValue = $event"
@update:modelValue="
filterValue = {
value: $event,
label: $event,
}
"
/>
</div>
</template>

0 comments on commit 85feb6a

Please sign in to comment.