The best way to control Claude Code, Codex and more from any computer or phone
Mirrored from https://github.com/Camo67/t3code.git
Synced Nov 21, 21:00 UTC
fix(web): questions without options no longer mention a selected option (#34806)
Julius Marminge committed
Nov 11, 2026 at 23:08 UTC
dbfbe3993fca5235af11c243cb1f53c9cc718077
1 file changed
+4
-1
apps/web/src/components/chat/ChatComposer.tsx
+4
-1
@@ -402,6 +402,7 @@ export interface ChatComposerProps {
402
customAnswer: string;
403
activeQuestion: {
404
id: string;
405
+ options: ReadonlyArray<unknown>;
406
initialAnswer?: string | undefined;
407
multiSelect?: boolean | undefined;
408
allowCustomAnswer?: boolean | undefined;
@@ -3557,7 +3558,9 @@ export const ChatComposer = memo(function ChatComposer(props: ChatComposerProps)
3558
: activePendingProgress
3559
? isChoiceOnlyPendingQuestion
3560
? "Choose an option above"
3560
- : "Type your own answer, or leave this blank to use the selected option"
3561
+ : activePendingProgress.activeQuestion?.options.length === 0
3562
+ ? "Type your answer"
3563
+ : "Type your own answer, or leave this blank to use the selected option"
3564
: projectSelectionRequired
3565
? "Choose a project above to start a thread"
3566
: showProviderUnavailable