diff --git a/ui/src/components/form/AnnotationsForm.vue b/ui/src/components/form/AnnotationsForm.vue index 49cb13e4fb..75912ca4ad 100644 --- a/ui/src/components/form/AnnotationsForm.vue +++ b/ui/src/components/form/AnnotationsForm.vue @@ -1,11 +1,14 @@ @@ -219,34 +228,73 @@ defineExpose({ /> - + + + {{ + $t( + showCustomForm + ? "core.components.annotations_form.buttons.collapse" + : "core.components.annotations_form.buttons.expand" + ) + }} + + + + + + - + v-model="customAnnotationsState" + type="repeater" + :label="$t('core.components.annotations_form.custom_fields.label')" + > + + + - + + + diff --git a/ui/src/locales/en.yaml b/ui/src/locales/en.yaml index 795cd856d7..05647d2705 100644 --- a/ui/src/locales/en.yaml +++ b/ui/src/locales/en.yaml @@ -1375,6 +1375,9 @@ core: custom_fields: label: Custom validation: The current Key is already in use + buttons: + expand: View more + collapse: Collapse default_editor: tabs: toc: diff --git a/ui/src/locales/zh-CN.yaml b/ui/src/locales/zh-CN.yaml index 60d8344b55..4b3821e9e0 100644 --- a/ui/src/locales/zh-CN.yaml +++ b/ui/src/locales/zh-CN.yaml @@ -1329,6 +1329,9 @@ core: custom_fields: label: 自定义 validation: 当前 Key 已被占用 + buttons: + expand: 查看更多 + collapse: 收起 default_editor: tabs: toc: diff --git a/ui/src/locales/zh-TW.yaml b/ui/src/locales/zh-TW.yaml index 92225acffc..f2a77ee99b 100644 --- a/ui/src/locales/zh-TW.yaml +++ b/ui/src/locales/zh-TW.yaml @@ -1295,6 +1295,9 @@ core: custom_fields: label: 自定義 validation: 當前 Key 已被占用 + buttons: + expand: 查看更多 + collapse: 收起 default_editor: tabs: toc: