Skip to main content
Version: 0.14.0

Interface: PasswordStep

Defined in: tui/ink/wizard.tsx:45

A line of text, masked while typed and in the summary.

Extends​

  • BaseStep

Properties​

PropertyTypeDescriptionInherited fromDefined in
messageFromAnswers<string>-BaseStep.messagetui/ink/wizard.tsx:23
namestringKey of this step's answer in the result.BaseStep.nametui/ink/wizard.tsx:22
type"password"--tui/ink/wizard.tsx:46
validate?(value, answers) => string | true--tui/ink/wizard.tsx:47
when?(answers) => booleanSkips the step (leaving no answer) when it returns false.BaseStep.whentui/ink/wizard.tsx:25