promptui icon indicating copy to clipboard operation
promptui copied to clipboard

Add an option to prefill the search field of select

Open schrej opened this issue 4 years ago • 1 comments

This PR adds an option to prefill the search field of the select prompt.

The cursor will use it as it's initial value, which causes it to be prefilled on the first switch to search mode (either by setting StartInSearchMode or by pressing /).

My use case is a cli tool that allows to prefil the value with a parameter.

schrej avatar Apr 21 '21 12:04 schrej

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar Apr 21 '21 12:04 CLAassistant