diff --git a/app/src/interfaces/_system/system-filter/input-component.vue b/app/src/interfaces/_system/system-filter/input-component.vue index 61aea8f574..5f1141b47f 100644 --- a/app/src/interfaces/_system/system-filter/input-component.vue +++ b/app/src/interfaces/_system/system-filter/input-component.vue @@ -17,6 +17,15 @@ placeholder="--" @input="emitValueDebounced($event.target.value)" /> + , + default: () => [], + }, }, emits: ['input'], setup(props, { emit }) { diff --git a/app/src/interfaces/_system/system-filter/input-group.vue b/app/src/interfaces/_system/system-filter/input-group.vue index 4150e6d98c..279ced462e 100644 --- a/app/src/interfaces/_system/system-filter/input-group.vue +++ b/app/src/interfaces/_system/system-filter/input-group.vue @@ -17,7 +17,13 @@ ].includes(getComparator(field)) " > - + - + {{ t('interfaces.filter.and') }} - + @@ -74,6 +93,8 @@ export default defineComponent({ }); const interfaceType = computed(() => { + if (fieldInfo.value?.meta?.options?.choices) return 'select'; + const types: Record = { bigInteger: 'input', binary: 'input',