Skip to content

hideWithoutInput and miss properties of arg #1468

@JosXa

Description

@JosXa

These are the behaviors I'd naïvely expect given the names of the config properties, which are otherwise undocumented:

// Expected: The choice is shown as soon as I type **anything**
// Actual: It shows only when the input matches the choice's name ("123").
//         You also cannot submit arbitrary inputs!
await arg('{hideWithoutInput: true}', [{name: '123', hideWithoutInput: true}]);


// Expected: The choice is shown as soon as there is **any** input. 
// Actual: It is shown even when the input is empty.
await arg('{miss: true, hideWithoutInput: true}', [{name: '123', miss: true, hideWithoutInput: true}]);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions