variable-length TextInput for conversation title
This commit is contained in:
@@ -499,7 +499,7 @@ export default function ChatPage() {
|
|||||||
<Box h="100%" w="100%" style={{ display: "flex", flexDirection: "column" }}>
|
<Box h="100%" w="100%" style={{ display: "flex", flexDirection: "column" }}>
|
||||||
<Group justify="flex-start" gap={"sm"} w="100%">
|
<Group justify="flex-start" gap={"sm"} w="100%">
|
||||||
<TextInput
|
<TextInput
|
||||||
inputSize="50"
|
inputSize={Math.max(conversationTitle?.length || 0, 22).toString()}
|
||||||
description={`Conversation #${conversationId}`}
|
description={`Conversation #${conversationId}`}
|
||||||
defaultValue={conversationTitle || ""}
|
defaultValue={conversationTitle || ""}
|
||||||
// onChange={(e) => {
|
// onChange={(e) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user