diff --git a/core/core-frontend/src/custom-component/v-query/QueryConditionConfiguration.vue b/core/core-frontend/src/custom-component/v-query/QueryConditionConfiguration.vue index 736c5b67ab..9a2f84bfa0 100644 --- a/core/core-frontend/src/custom-component/v-query/QueryConditionConfiguration.vue +++ b/core/core-frontend/src/custom-component/v-query/QueryConditionConfiguration.vue @@ -248,6 +248,9 @@ const handleDatasetChange = () => { const handleFieldChange = () => { if (!curComponent.value.defaultValueCheck) return curComponent.value.defaultValue = curComponent.value.multiple ? [] : undefined + if (!curComponent.value.displayId) { + curComponent.value.displayId = curComponent.value.field.id + } } const handleValueSourceChange = () => {