Enum
FormEditorType

Specifies the type of input editor component to render for form fields, overriding automatic editor selection. Use this to explicitly control which Telerik input component handles data entry for specific form fields.

Definition

Namespace:Telerik.Blazor

Assembly:Telerik.Blazor.dll

Syntax:

cs-api-definition
public enum FormEditorType

Fields

CheckBox

Renders a TelerikCheckBox<TValue> as a traditional checkbox control for boolean values. Perfect for agreements, confirmations, optional selections, or boolean properties requiring explicit checking. Supports tri-state functionality, custom labels, and standard checkbox accessibility features. Use this for boolean properties when traditional checkbox behavior is preferred over toggle switches.

Declaration

cs-api-definition
CheckBox = 6

Field Value

FormEditorType

DatePicker

Renders a TelerikDatePicker<T> for date-only selection without time components. Perfect for birthdays, deadlines, event dates, or any scenario requiring date input without time specificity. Features calendar popup, date validation, localization support, and keyboard navigation. Use this for DateTime or DateOnly properties when time information is not needed.

Declaration

cs-api-definition
DatePicker = 2

Field Value

FormEditorType

DateTimePicker

Renders a TelerikDateTimePicker<T> for combined date and time selection. Perfect for timestamps, appointment scheduling, deadline tracking, or events requiring precise timing. Combines calendar and time selection in a single component with comprehensive validation. Use this for DateTime properties when both date and time components are required for the field.

Declaration

cs-api-definition
DateTimePicker = 4

Field Value

FormEditorType

Switch

Renders a TelerikSwitch<TValue> as a toggle control for boolean values. Ideal for on/off settings, feature toggles, preferences, or any binary choice with clear state indication. Provides smooth animations, accessibility support, and clear visual feedback for state changes. Choose this for boolean properties when you want a modern toggle interface instead of traditional checkboxes.

Declaration

cs-api-definition
Switch = 5

Field Value

FormEditorType

TextArea

Renders a TelerikTextArea for multi-line text input with resizable height. Ideal for longer text content like descriptions, comments, notes, or any text that spans multiple lines. Provides automatic scrolling, resize handles, and supports large amounts of text input. Choose this for text fields that need more space than a single line can provide.

Declaration

cs-api-definition
TextArea = 1

Field Value

FormEditorType

TextBox

Renders a TelerikTextBox for single-line text input. Perfect for short text fields like names, usernames, email addresses, or simple identifiers. Supports features like placeholder text, input validation, and standard text formatting. Use this for most string properties that don't require multi-line input capability.

Declaration

cs-api-definition
TextBox = 0

Field Value

FormEditorType

TimePicker

Renders a TelerikTimePicker<T> for time-only selection without date components. Ideal for scheduling, appointment times, durations, or any time-specific input requirements. Provides time dropdown, validation, and supports various time formats based on localization. Choose this for TimeSpan or TimeOnly properties, or DateTime fields where only time matters.

Declaration

cs-api-definition
TimePicker = 3

Field Value

FormEditorType