Skip to content

Commit c937f0f

Browse files
ergunshDevtools-frontend LUCI CQ
authored andcommitted
[AiAssistance] Add max length to the text input
Fixed: 369492000 Change-Id: Idc72ade6b2575cf9e84bd4288f776308a4e7f740 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/6225602 Commit-Queue: Ergün Erdoğmuş <[email protected]> Reviewed-by: Alex Rudenko <[email protected]> Commit-Queue: Alex Rudenko <[email protected]> Auto-Submit: Ergün Erdoğmuş <[email protected]>
1 parent 2fecfc7 commit c937f0f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

front_end/panels/ai_assistance/components/ChatView.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1201,6 +1201,7 @@ export class ChatView extends HTMLElement {
12011201
<textarea class=${cls}
12021202
.disabled=${this.#isTextInputDisabled()}
12031203
wrap="hard"
1204+
maxlength="10000"
12041205
@keydown=${this.#handleTextAreaKeyDown}
12051206
placeholder=${this.#getInputPlaceholderString()}
12061207
jslog=${VisualLogging.textField('query').track({ keydown: 'Enter' })}

0 commit comments

Comments
 (0)