HxFormState #

Propagates form states as a cascading parameter to child components.

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

Demo #

Toggle the switch to enabled/disable form state.

API #

Parameters #

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