Skip to content

Request for 'hints' to be added to multiple-choice questions. #340

@AlexMakesSoftware

Description

@AlexMakesSoftware

Great module, thank you.

I was wondering if you could add a feature. I would like it if we could add a hint to go along side the various options to checkbox and lists question types? The hint would provide more detail about what the highlighted answer would do. For example:

questions = [
    Checkbox('fruits',
             message="Select model mode:",
             choices=['SIMPLE', 'COMPLEX', 'BALANCED'],
             hint=["Faster computation but smaller outputs","Slow computation but large outputs","A happy medium"]
    )
]

This would display the corresponding hint when the items are highlighted, for both Checkbox and List types. The problem being that 'message' is usually not quite enough to explain the choices one is making.

Metadata

Metadata

Assignees

No one assigned

    Labels

    pythonPull requests that update Python codequestionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions