You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/react-renderer-demo/src/docs-components/pf4-wizard.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,6 +15,7 @@ Don't forget hide form controls by settinng \`showFormControls\` to \`false\` as
15
15
| setFullHeight | bool | undefined | see Patternfly |
16
16
| isDynamic | bool | undefined | will dynamically generate steps navigation (=progressive wizard), please use if you use any condition fields which changes any field in other steps (wizards with conditional steps are dynamic by default) |
17
17
|showTitles|bool|undefined|If true, step titles will be shown in the wizard body|
18
+
|predictSteps|bool|undefined|If true, dynamic wizard will predict steps in the navigation.|
18
19
19
20
### Default buttonLabels
20
21
@@ -48,6 +49,7 @@ You can rewrite only selection of them, e.g.
|showTitle|bool|If true, step titles will (not if false) be shown in the wizard body|
50
51
|Custom title|node|Use if you want to render as the title different/custom title (for example, title with a popover|
52
+
|disableForwardJumping|bool|When use return to this step, jumping forward in the navigation is disabled.|
51
53
52
54
53
55
- nextStep can be stepKey of the next step
@@ -164,6 +166,8 @@ First step should have `stepKey: 1` or as a string: `'1'`
164
166
- steps are visible as user visits them
165
167
- user can jump only back
166
168
- use `isDynamic` prop to enforce it
169
+
- use `predictSteps` to allow navigation to show future steps
170
+
- if you have any conditional fields in the step, you should use `disableForwardJumping` in the step definition, to disable jumping forward in the navigation, otherwise user could miss the changed fields in next steps.
0 commit comments