Closed sargunv closed 1 year ago
As I understand createPromptModule is that it is separate from the default inquirer.
So you have to register the autocomplete prompt with the prompt1 or prompt2 module. See https://github.com/mokkabonna/inquirer-autocomplete-prompt/commit/3ee49870b82f3fad10f98c704839cf4b819f273a for an example
Seems to work as expected then.
This makes sense. I'm no longer at the job where I was using this, so I unfortunately can't confirm 😅
Thanks for the info though, it'll be helpful next time I use this.
Yeah sorry for the late reply. :)
Environment
Symptom
The choices don't show up for selection when using this package with
inquirer.createPromptModule
. This means it's not possible to use this package while outputting to stderr instead of stdout. Standard inquirer types work fine (such aslist
, the closest equivalent to this available).Repro