From 9f163ce320e0d9a4331c2109c3cc7396ea736a90 Mon Sep 17 00:00:00 2001 From: Rijk van Zanten Date: Fri, 15 Oct 2021 17:20:37 -0400 Subject: [PATCH] Fix choices not showing up in filter (#8839) --- .../_system/system-filter/input-component.vue | 19 +++++++++++++ .../_system/system-filter/input-group.vue | 27 ++++++++++++++++--- 2 files changed, 43 insertions(+), 3 deletions(-) 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)" /> +
@@ -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',