FormItemTagHelper
Example
Razor
<form-item>
<autocomplete-editor></autocomplete-editor>
<captcha-editor></captcha-editor>
<checkboxgroup-editor></checkboxgroup-editor>
<colorgradient-editor></colorgradient-editor>
<colorpalette-editor></colorpalette-editor>
<colorpicker-editor></colorpicker-editor>
<combobox-editor></combobox-editor>
<dateinput-editor></dateinput-editor>
<datepicker-editor></datepicker-editor>
<datetimepicker-editor></datetimepicker-editor>
<dropdownlist-editor></dropdownlist-editor>
<dropdowntree-editor></dropdowntree-editor>
<flatcolorpicker-editor></flatcolorpicker-editor>
<form-items></form-items>
<grid />
<item-label />
<maskedtextbox-editor></maskedtextbox-editor>
<multicolumncombobox-editor></multicolumncombobox-editor>
<multiselect-editor></multiselect-editor>
<numerictextbox-editor></numerictextbox-editor>
<otpinput-editor></otpinput-editor>
<radiogroup-editor></radiogroup-editor>
<rating-editor></rating-editor>
<richtexteditor-editor></richtexteditor-editor>
<signature-editor></signature-editor>
<slider-editor></slider-editor>
<switch-editor></switch-editor>
<textarea-editor></textarea-editor>
<textbox-editor></textbox-editor>
<timedurationpicker-editor></timedurationpicker-editor>
<timepicker-editor></timepicker-editor>
</form-item>
ChildTags
Attributes
Attribute | Type | Description |
---|---|---|
col-span | Double | Defines the field size when grid layout is used. |
editor | String | Defines the id for the EditorTemplate. |
editor-handler | String | Defines the editor widget type. Available options are: DropDown widgets - "AutoComplete", "DropDownList", "ComboBox", "MultiSelect", "DropDownTree", "MultiColumnComboBox"; DatePicker widgets - "DateInput", "DatePicker", "DateTimePicker", "TimePicker"; Input widgets - "TextBox", "TextArea", "NumericTextBox", "MaskedTextBox", "RadioGroup", "CheckBoxGroup", "Switch", "Rating", "Slider", "ColorPicker", "ColorGradient", "ColorPalette", "FlatColorPicker", "Signature", "OTPInput", "hidden" or Editor widget - "Editor". |
editor-template-id | String | Defines the id for the EditorTemplate. |
editor-template-view | IHtmlContent | Defines the HTML content for the EditorTemplate. |
field | String | Maps to the model field which will be configured and sets the name of the input. |
hidden-editor | Boolean | Specifies the hidden state of the Editor. |
hint | String | Defines the hint text that will be shown underneath the form editor. |
html-attributes | IDictionary<String,Object> | Defines the attributes that are applied to the input element. |
id | String | Defines the field id. |
layout | String | Specify the layout of the item when items.type is set to "group". Valid options: grid: This is equivalent to display: grid. It defines the form item as a grid container and establishes a new grid formatting context for its contents.. |
title | String | Defines the field title. |
type | String | Defines the type of the item. Available options: "group". |