Fields essentials
The following fields are available for use
  • CsFieldForBool<TValue>
  • CsFieldForCustomEditor<TValue>
  • CsFieldForDateTime<TValue>
  • CsFieldForFile<TValue>
  • CsFieldForList<TValue, TItem>
  • CsFieldForMultiSelect<TValue, TItem>
  • CsFieldForNumber<TValue>
  • CsFieldForRenderFragment<TValue>
  • CsFieldForSelect<TValue>
  • CsFieldForText<TValue>
  • CsFieldForTimeSpan<TValue>
  • CsMultiFieldFor<TValue>

Each field has the following properties
  • FieldName[optional]
    the html name attribute value. Used for form submission.
  • HtmlId[optional]
    the html id attribute value. Used for label association.
  • TabIndex[optional]
    the html tabindex attribute value. Used for tab navigation.
  • InputIcon[optional]
    An icon to display in the input.
  • AutoFocus[optional]
    If true, the input will be focused when the page loads.
  • Icon[optional]
    An icon to display in the field header.
  • HeaderText or HeaderContent[optional(the name of the ValueExpression property)]
    The text to display in the field header. It will be wrapped in an html label tag. Redirection to the field is done by the html for attribute.
  • IsLabelVisible[optional(true by default)]
    If false, the header text will not be displayed.
  • Description or Description[optional]
    The text to display in the field description. It will be wrapped in an html label tag.
  • IsDescriptionVisible[optional(true by default)]
    If false, the description text will not be displayed.
  • AdditionalPrefixFieldContent[optional]
    Additional content to display before the fields input but after the fields header.
  • AdditionalSuffixFieldContent[optional]
    Additional content to display after the fields input.
CsFieldForText.HeaderText and CsFieldForText.Description
Razor Code
CsFieldForText.AdditionalPrefixFieldContent and CsFieldForText.AdditionalSuffixFieldContent
Razor Code
An unhandled error has occurred. Reload 🗙