Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
fix: not support dropdown for empty options (#17691)
ecmadaoecd67a98a824
diff --git a/frontend/src/components/ExprEditor/components/ValueInput.vue b/frontend/src/components/ExprEditor/components/ValueInput.vueindex 50d6077530..5c6d9f5ce1 100644--- a/frontend/src/components/ExprEditor/components/ValueInput.vue+++ b/frontend/src/components/ExprEditor/components/ValueInput.vue@@ -95,13 +95,15 @@ const isArrayValue = computed(() => {return isCollectionOperator(operator.value);});const inputType = computed((): InputType => {+ const optionConfig = optionConfigMap.value.get(factor.value);+ const hasOption =+ (optionConfig?.options.length ?? 0 > 0) || optionConfig?.remote;+if (isArrayValue.value) {- return optionConfigMap.value.has(factor.value)- ? "MULTI-SELECT"- : "MULTI-INPUT";+ return hasOption ? "MULTI-SELECT" : "MULTI-INPUT";}if (isEqualityOperator(operator.value)) {- if (optionConfigMap.value.has(factor.value)) {+ if (hasOption) {return "SINGLE-SELECT";}}