HxFormState

Propagates form states as a cascading parementer to child components.

Publishes FormState as cascading value. Allows you to enable/disable child components by one property.

Demo

Toggle the switch to enabled/disable form state.

API

Parameters

Name Type Description
Enabled bool? Indicated enabled/disabled section. Value to propagate.
Visible bool When false, nothing is rendered (no children). Value is not propagated, there is no where to propagate.
ChildContent RenderFragment Child content.
An unhandled error has occurred. Reload 🗙