Skip to content

Conversation

@thatblindgeye
Copy link
Contributor

What: Closes #8867

Additional issues:

@patternfly-build
Copy link
Contributor

patternfly-build commented Apr 19, 2023

title="Simple wizard in modal"
description="Simple wizard description"
steps={steps}
<Wizard
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Codesandbox is warning me that there is a key problem in this Wizard:

Check the render method of `WizardToggle`. See https://fb.me/react-warning-keys for more information.
    in Fragment (created by WizardToggle)
    in WizardToggle (created by WizardInternal)
    in WizardInternal (created by Wizard)
    in div (created by Wizard)
    in WizardContextProvider (created by Wizard)
    in Wizard (at index.js:62)
    in div (created by ModalBox)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

and a second key problem:

Check the render method of `WizardNavInternal`. See https://fb.me/react-warning-keys for more information.
    in WizardNavItem (created by WizardNavInternal)
    in WizardNavInternal (created by WizardInternal)
    in div (created by WizardToggle)
    in div (created by WizardToggle)
    in WizardToggle (created by WizardInternal)
    in WizardInternal (created by Wizard)
    in div (created by Wizard)
    in WizardContextProvider (created by Wizard)
    in Wizard (at index.js:62)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These warnings are appearing in all these demos - and are manifesting as the following error in the workspace:

Uncaught Error: Minified React error #423; visit https://reactjs.org/docs/error-decoder.html?invariant=423 for the full message or use the non-minified dev environment for full errors and additional helpful warnings.
    at Sl (5472.596e471a.bundle.js:2:3393845)
    at bc (5472.596e471a.bundle.js:2:3381463)
    at _c (5472.596e471a.bundle.js:2:3381391)
    at mc (5472.596e471a.bundle.js:2:3381254)
    at rc (5472.596e471a.bundle.js:2:3378061)
    at oc (5472.596e471a.bundle.js:2:3376613)
    at w (5472.596e471a.bundle.js:2:3429769)
    at MessagePort.I (5472.596e471a.bundle.js:2:3430301)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like there was one WizardStep that I mistyped the id prop as just d, should be fixed in the latest push.

@nicolethoen nicolethoen merged commit 0465795 into patternfly:v5 Apr 24, 2023
@patternfly-build
Copy link
Contributor

Your changes have been released in:

  • @patternfly/react-code-editor@5.0.0-alpha.76
  • @patternfly/react-core@5.0.0-alpha.75
  • @patternfly/react-docs@6.0.0-alpha.82
  • demo-app-ts@5.0.0-alpha.59
  • @patternfly/react-integration@5.0.0-alpha.29
  • @patternfly/react-table@5.0.0-alpha.77

Thanks for your contribution! 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Wizard - Update demos from deprecated Wizard to new Wizard

4 participants