Skip to content

ConfirmationInput does not show the option selected when typing #740

Closed
@tincore

Description

@tincore

Both v3.0.3 and 3.1.0-RC1

Not sure if I'm doing anything wrong but:

When building a component flow and adding confirmation input.

 .withConfirmationInput(INPUT_CONFIRMATION)
                            .name("Confirm?")
                            .defaultValue(false)
                            .and()

When the flow is executed this component renders

? Confirm?  (y/N) 

But when clicking y or n nothing is rendered in the screen. You have to blindly click y or n and then click enter.

For instance if I click n 3 times I get:

? Confirm? (y/N)                                                                                                                                                                                                                   
✖ Sorry, your input is invalid: 'nnn', try again

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions