question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Feature Request]: Wizard - disable next

See original GitHub issue

Description

Current wizard always allow to move to next step. Would be great if we could disable Next button with a disableNext props at step level.

A workaround today is to play with top level isLoadingNextStep but it will have the spinning wheel and needs complex logic to get it to be set right at each step since it’s top level props.

Code of Conduct

Issue Analytics

  • State:closed
  • Created 9 months ago
  • Reactions:1
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
johannes-webercommented, Dec 14, 2022

We recommend keeping the submission button active at all times as a fallback mechanism for validating these required fields. In these scenarios, deactivating the submit button forces them to hunt for their mistake or blocks them from moving forward, leaving the user frustrated and confused. Therefore, providing feedback through error messages invoked on submission is often the most straightforward and clearest approach to validation.

Take a look at the form validation pattern article for more details.

0reactions
flochazcommented, Dec 14, 2022

Ok I can work with that but that does not give the capability to deactivate the button prior to fields completions .

Read more comments on GitHub >

github_iconTop Results From Across the Web

wizard-next button should not navigate to next page if ... - GitHub
Next button is disable/enable based on the form/page's valid status. · next button was disabled when we enter the page. · when the...
Read more >
Wizard Control - How to disable the Next button
Hello, I'm using the wizard control and was wondering if there is a way to disable the next button. I would like to...
Read more >
How to disable NEXT button on step 1 of FuelUX Wizard
After reading the fuel ux documentation, here seems to be a hack that allows you to disable a specific step without ...
Read more >
Blazor Wizard Buttons - Documentation - Telerik
The Wizard provides the following default buttons: Next - navigates to the next step of the Wizard. If the next step is disabled,...
Read more >
Enable and disable Auto-activation feature in Windows Vista
These problems might require that you reinstall your operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found