You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
TUI: If "Type your own answer" in question/ask prompt was selected and then switched to a different option, the answers cannot be submitted #44192
When the agent prompts the user to choose between several options for clarifications/confirmations including "Type your own answer", if a user accidentally selects "Type your own answer", or changed their mind and then selected one of the preset answer instead, pressing Enter proceeds to the next until the confirmation dialog before submission, but when Enter is pressed again to submit nothing happens.
This can only be rectified by going back to the tab where the user selected "Type your own answer" and then actually type in something in that box (which then overrides the preset selection) before the answers can be submitted.
Expected
Should be able to submit when selected "Type your own answer" and then selected a different option.
Actual
Unable to submit when selected "Type your own answer" and then selected a different option.
Plugins
N/A
OpenCode version
1.18.21
Steps to reproduce
In an interactive opencode TUI session, trigger any question that allows a custom answer, so the dialog shows numbered options plus a final "Type your own answer" row.
Select "Type your own answer" (it enters edit mode and focuses the text input) and then re-select a different option without typing anything.
Activity
github-actions commentedon Aug 22, 2026
This issue might be related to existing issues. Please check:
store.editingstate not being cleared when switching back to a preset option).thdxr commentedon Oct 11, 2026
Thanks for the report! OpenCode 2.0 is now out and development is focused on V2, so we're closing issues filed against OpenCode 1. Please upgrade (
opencode upgrade --major, details: https://anoma.ly/notes/opencode-2-0), and if this is still relevant on 2.0, reopen this issue or open a new one with your 2.0 version.— from 𝕺𝖕𝖊𝖓𝕮𝖔𝖉𝖊