-
Notifications
You must be signed in to change notification settings - Fork 14.7k
TUI Question tool: Custom answer text leaks to next question when switching tabs #12536
Copy link
Copy link
Open
Labels
bugSomething isn't workingSomething isn't workingopentuiThis relates to changes in v1.0, now that opencode uses opentuiThis relates to changes in v1.0, now that opencode uses opentuiwindows
Description
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
- 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)
- Select "Type your own answer" on Question 1
- Type some text (don't press Enter)
- Switch to Question 2 using Tab or arrow keys
- Select "Type your own answer" on Question 2
- The text from Question 1 appears in Question 2's textarea
Screenshot and/or share link
No response
Operating System
Windows 11
Terminal
Powershell
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingopentuiThis relates to changes in v1.0, now that opencode uses opentuiThis relates to changes in v1.0, now that opencode uses opentuiwindows