Skip to content

TUI Question tool: Custom answer text leaks to next question when switching tabs #12536

@maharshi365

Description

@maharshi365

Description

When using the Question tool with multiple questions and custom answer options, typed text from one question's custom answer field appears in the next question when switching tabs without confirming (pressing Enter).

Plugins

No response

OpenCode version

1.1.53

Steps to reproduce

  1. Trigger a question tool with multiple questions (ask me 3 questions. idk the topic, just make sure there is a custom answer section for me to use)
  2. Select "Type your own answer" on Question 1
  3. Type some text (don't press Enter)
  4. Switch to Question 2 using Tab or arrow keys
  5. Select "Type your own answer" on Question 2
  6. The text from Question 1 appears in Question 2's textarea

Screenshot and/or share link

No response

Operating System

Windows 11

Terminal

Powershell

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingopentuiThis relates to changes in v1.0, now that opencode uses opentuiwindows

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions