(
values: T,
stepIndex: number,
source: Pick<FormState<T>, "disabled" | "fieldDisabled" | "errors"> = stateRef.current,
)
| 93 | }); |
| 94 | |
| 95 | const runWizardStepValidationForState = ( |
| 96 | values: T, |
| 97 | stepIndex: number, |
| 98 | source: Pick<FormState<T>, "disabled" | "fieldDisabled" | "errors"> = stateRef.current, |
| 99 | ): ValidationResult<T> => |
| 100 | runWizardStepValidation({ |
| 101 | values, |
| 102 | stepIndex, |
| 103 | wizardSteps, |
| 104 | source, |
| 105 | runSyncValidationFiltered, |
| 106 | filterDisabledValidationErrors, |
| 107 | }); |
| 108 | |
| 109 | ctx.useEffect(() => { |
| 110 | if (options.validateAsync) { |
nothing calls this directly
no test coverage detected