RayCraftDocs
v1.0.3 raycraft.dev
On this page

FormState

Free

Locks every RayCraft field inside it with one parameter: Disabled blocks them completely, ReadOnly shows the values without allowing changes. Use it while a form is being saved or when the user may only view a record. It renders nothing itself.

Example

FormState control

Parameters

ParameterTypeDescription
ChildContentRenderFragmentContent rendered inside the component.
DisabledboolDisables interaction.
ReadOnlyboolShows the value but does not allow changes.

Package

FormState is part of RayCraft Free. Package: RayCraft.Blazor. It comes from nuget.org. See Getting started.