WizardV2: Validate steps through redux state
Store validation status in redux state. This is bit complex on the redux side, but pretty simple on the components. It allows for reuse of the validation state instead of revalidating wherever needed.
This commit is contained in:
parent
be5311e66a
commit
709ae39d23
8 changed files with 204 additions and 19 deletions
|
|
@ -172,6 +172,7 @@ export const mapRequestToState = (request: BlueprintResponse): wizardState => {
|
|||
repository: '',
|
||||
isRequiredByOpenScap: false,
|
||||
})) || [],
|
||||
stepValidations: {},
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue