[BUG] AskUserQuestion's "preview feature" doesn't allow "Type something" as an option
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
The tool declaration states:
Users will always be able to select "Other" to provide custom text input
However, specifically for "preview feature" type of questions--when options includes a markdown field (triggering the preview layout)--the "Other" / "Type something" option is not presented to the user. So, the only way to choose "neither" is to halt the whole interview with "Chat about this".
<img width="1161" height="472" alt="Image" src="https://github.com/user-attachments/assets/a4eb04b7-6139-408f-a6b8-3d5a5ea50e24" />
What Should Happen?
Expected: "Type something" is available as an option regardless of whether the preview layout is active.
Actual: "Type something" is absent when preview layout is triggered for a question.
Error Messages/Logs
Steps to Reproduce
Prompt Haiku with
Please use AskUserQuestion tool to prepare a demo question with "preview feature" for me to screenshot. Two one-liner options, nothing fancy. Make it explicitly "a demo question".
Claude Model
Not sure / Multiple models
Is this a regression?
No, this never worked
Last Working Version
_No response_
Claude Code Version
2.1.50
Platform
Anthropic API
Operating System
Windows
Terminal/Shell
Windows Terminal
Additional Information
Good thing the answers to already addressed questions in the same interview are preserved with "Chat about this".
Also the "Notes" from this type of questions with preview are not being present in the post-interview summary; however, the notes themselves are readable to the model no problem (just a nonfunctional UI inconvenience/nonconsistency).
This new "with preview feature" type of questions is in fact awesome, just needs ironing out.
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗