From 4af0f2337dce8903b46d9b4cf27f015af6d17dad Mon Sep 17 00:00:00 2001 From: Willy Douhard Date: Wed, 8 Jan 2025 10:09:14 +0100 Subject: [PATCH] fix: text input value should update --- frontend/src/components/ChatSettings/TextInput.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/components/ChatSettings/TextInput.tsx b/frontend/src/components/ChatSettings/TextInput.tsx index c3ebe4f857..9166594964 100644 --- a/frontend/src/components/ChatSettings/TextInput.tsx +++ b/frontend/src/components/ChatSettings/TextInput.tsx @@ -40,9 +40,9 @@ const TextInput = ({ disabled={disabled} id={id} name={id} + {...rest} onChange={(e) => setField?.(id, e.target.value)} className={`text-sm font-normal my-0.5 ${className ?? ''}`} - {...rest} /> );