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
{{ message }}
Repository navigation
Commit d4462d8
Browse filesBrowse the repository at this point in the historyBrowse files
feat(web-core): add queryFilter rule and backTo to multi-step form
Needed by the role creation form: its privilege drawer validates a query
filter, and its stepper lets the user jump back to an earlier step.
`injectCollectionMarkers` is removed: Regle already treats any field
whose value is an array as a collection and returns errors in the
`{ $self, $each }` shape, so declaring `$each` by hand is redundant.
See XO-3100
|`currentStep`|`ComputedRef<keyof TSteps & string>`| The currently active step name |
234
-
|`next`|`() => Promise<boolean>`| Validates the current step; advances to the next step only if validation passes. Returns `true` if the step was valid |
235
-
|`back`|`() => void`| Goes to the previous step without validation |
|`currentStep`|`ComputedRef<keyof TSteps & string>`| The currently active step name |
234
+
|`next`|`() => Promise<boolean>`| Validates the current step; advances to the next step only if validation passes. Returns `true` if the step was valid |
235
+
|`back`|`() => void`| Goes to the previous step without validation |
236
+
|`backTo`|`(step: keyof TSteps & string) => void`| Goes back to an earlier step without validation; does nothing if the step is not before the current one |
0 commit comments