palantir/blueprint

[Multistep Dialog] Expose a function to proceed to the next step in the dialog

Open

#5,040 opened on Nov 29, 2021

 (1 comment) (1 reaction) (0 assignees)TypeScript (2,167 forks)batch import
P3Package: coreType: feature requesthelp wanted

Repository metrics

Stars
 (20,263 stars)
PR merge metrics
 (PR metrics pending)

Description

Feature request

It would be useful if the Multistep Dialog exposes a method to proceed to the next step in the dialog.

Use Case

The dialog can progress through steps when the user presses on the enter key

Examples

const r = React.Ref<MultiStepDialog> = createRef();
const onEnter = () => r.current.nextStep();

return <MultiStepDialog ... ref={r} />

Contributor guide