FieldFrame
IzzyBlazor.FieldFrame in the IzzyBlazor.Core package, generated from the 0.1.0-alpha.17 assembly
and its doc comments.
Properties (15)
Classstring?Classes for the wrapper.
Stylestring?Inline style for the wrapper.
Idstring?The control's id, for the label's for.
LabelIdstring?An id for the label, for controls that point to it with aria-labelledby.
Labelstring?The label text.
HideLabelbool = falseKeeps the label for screen readers but doesn't show it.
Requiredbool = falseWhether the field is required: an asterisk, or no "(optional)", depending on the form's RequiredMark.
AnnounceRequiredbool = falseSays "(required)" to screen readers after the label of a required field (Required), for controls that can't be marked required themselves, such as a group of checkboxes. Whatever the form's RequiredMark.
Hintstring?Help text.
HintIdstring?The hint element's id.
ErrorsIReadOnlyList<string>?Validation messages.
ErrorIdstring?The error element's id.
Groupbool = falseRenders a fieldset with a legend, for groups of controls such as radios.
LabelInControlbool = falseThe control renders its own label (checkboxes and switches).
ChildContentRenderFragment?The control.
Events (0)
No events.
Parts (2)
Components written inside FieldFrame, documented here with it.
FieldAddons
Attaches add-ons to the start or end of a field's control: text such as "https://" or "kg", a button, or another field such as a currency Select. Text fields have StartAddon and EndAddon; custom fields can wrap their own control in this to match.
StartAddonRenderFragment?Content attached before the control.
EndAddonRenderFragment?Content attached after the control.
ChildContentRenderFragment?The control, usually an ib-field-control element.