From 414264f25e5a50960a0cd4b03391d840ae009bc9 Mon Sep 17 00:00:00 2001 From: yangdx Date: Mon, 14 Apr 2025 12:45:42 +0800 Subject: [PATCH] Use DialogDescription component for description - Remove aria-describedby attribute --- .../src/components/graph/PropertyEditDialog.tsx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/lightrag_webui/src/components/graph/PropertyEditDialog.tsx b/lightrag_webui/src/components/graph/PropertyEditDialog.tsx index 612ffaf9..4db32fbe 100644 --- a/lightrag_webui/src/components/graph/PropertyEditDialog.tsx +++ b/lightrag_webui/src/components/graph/PropertyEditDialog.tsx @@ -5,10 +5,10 @@ import { DialogContent, DialogHeader, DialogTitle, - DialogFooter + DialogFooter, + DialogDescription } from '@/components/ui/Dialog' import Button from '@/components/ui/Button' -import Input from '@/components/ui/Input' interface PropertyEditDialogProps { isOpen: boolean @@ -53,20 +53,20 @@ const PropertyEditDialog = ({ onSave(value) onClose() } -} + } return ( !open && onClose()}> - + {t('graphPanel.propertiesView.editProperty', { property: getPropertyNameTranslation(propertyName) })} -

+ {t('graphPanel.propertiesView.editPropertyDescription')} -

+
{/* Multi-line text input using textarea */}