WizardValidation¶
sealed interface WizardValidation
Whether a WizardPage will let the wizard move forward, and why not when it won't.
Evaluated during composition on every pass, so a page backed by ordinary state (a quantity field, a fetched crafting plan) reports its current answer without having to push validity anywhere itself.
Inheritors¶
Types¶
Blocked¶
data class Blocked(val reason: Component? = null) : WizardValidation
The page will not let the wizard advance.
Valid¶
data object Valid : WizardValidation
The page is complete; the forward button is enabled.