Skip to content

[Request] Select or Multi-Select provide disable option in @clack/prompts #184

@zyyv

Description

@zyyv

As the title suggests, is it possible to provide a disable props in the options so that we can skip selecting it when we select it.

{
    value: 'value',
    label: 'label',
+   disabel: true
}

I want to show it when disabled without filtering it out.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions