Skip to content

Conversation

@andrefelipe18
Copy link
Contributor

Description

The Wizard component currently only supports programmatic forward navigation via the nextStep() method, which emits a browser event handled by Alpine. There is no native way to programmatically navigate to a specific step or move backwards without relying on query strings or directly mutating Alpine state.

This pull request introduces a new exposed Livewire method that allows navigating to a specific wizard step in a controlled and event-driven way. The implementation follows the existing Wizard architecture and event conventions, keeping the Wizard as the single source of truth for step state.

Visual changes

No visual changes.

Functional changes

  • Code style has been fixed by running the composer cs command.
  • Changes have been tested to not break existing functionality.
  • Documentation is up-to-date.

@github-project-automation github-project-automation bot moved this to Todo in Roadmap Jan 9, 2026
@andrefelipe18 andrefelipe18 changed the title Wizard: add programmatic step navigation without query string [4.x] Wizard programmatic step navigation without query string Jan 9, 2026
@danharrin danharrin added the enhancement New feature or request label Jan 9, 2026
@danharrin danharrin added this to the v4 milestone Jan 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request pending review

Projects

Status: Todo

Development

Successfully merging this pull request may close these issues.

2 participants