IFormValueComponent #

Represents properties (and methods) of a component that renders a form value (i.e., form inputs).

API #

Other properties #

Name Type Description
CoreCssClass string CSS class to be rendered with the wrapping div.
CoreHintCssClass string CSS class to be rendered with the hint.
CoreLabelCssClass string CSS class to be rendered with the label.
CssClass string Custom CSS class to render with the wrapping div.
Hint string Hint to render after the input as form-text.
HintTemplate RenderFragment Hint to render after the input as form-text.
Label string Label to render before the input (or after the input for Checkbox).
LabelCssClass string Custom CSS class to render with the label.
LabelFor string Element id to render as the label for attribute.
LabelTemplate RenderFragment Label to render before the input (or after the input for Checkbox).
RenderOrder LabelValueRenderOrder Render order LabelValue or ValueLabel.

Methods #

Method Returns Description
RenderValidationMessage(RenderTreeBuilder builder) void Renders the validation message.
RenderValue(RenderTreeBuilder builder) void Renders the content of the component (value, input).
An unhandled error has occurred. Reload 🗙