[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".
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 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?
I don't know
Last Working Version
_No response_
Claude Code Version
2.1.111 (Claude Code)
Platform
AWS Bedrock
Operating System
Ubuntu/Debian Linux
Terminal/Shell
VS Code integrated terminal
Additional Information
Intentional dup of #27348 (closed by IMHO extremely counterproductive "inactivity" bot) and #28186 (correctly closed as dup of #27348).
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗