Skip to content

questionary.confirm with placeholder does not clear the placeholder text #470

@ReubenVandezande

Description

@ReubenVandezande

Describe the bug

Unlike using placeholder with other prompts (ie. questionary.text), adding placeholder text to a y/N prompt does not clear the placeholder text.

Example

import questionary

questionary.confirm(f"Demonstrate this bug?", auto_enter=False, placeholder="This should dissapear").unsafe_ask()

Steps to reproduce

No response

Expected behaviour

I expect to type my response and see the placeholder text disappear.

Latest version

  • I have checked that this issue occurs on the latest version of questionary.

Questionary version

2.1.1

Prompt Toolkit version

3.0.52

Operating System

Linux

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions