palantir/blueprint

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

Open

#5,040 opened on Nov 29, 2021

View on GitHub
 (1 comment) (1 reaction) (0 assignees)TypeScript (20,263 stars) (2,167 forks)batch import
P3Package: coreType: feature requesthelp wanted

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

[Multistep Dialog] Expose a function to proceed to the next step in the dialog · palantir/blueprint#5040 | Good First Issue