fix: update input value in ChatPanel to provide a prompt for user interaction

This commit is contained in:
dayuan.jiang
2025-03-19 09:01:30 +00:00
parent 51ce74400d
commit 2832e9e5e7

View File

@@ -95,7 +95,7 @@ export default function ChatPanel({ onDisplayChart, onFetchChart }: ChatPanelPro
<CardFooter className="pt-2"> <CardFooter className="pt-2">
<form onSubmit={onFormSubmit} className="w-full flex space-x-2"> <form onSubmit={onFormSubmit} className="w-full flex space-x-2">
<Input <Input
value={input} value={"what you can see on the drawio panel?"}
onChange={handleInputChange} onChange={handleInputChange}
placeholder="Describe what changes you want to make to the diagram..." placeholder="Describe what changes you want to make to the diagram..."
disabled={isLoading} disabled={isLoading}