Request

Response

    TextFieldDescriptor class

    Provides an implementation of the ITextFieldDescriptor interface for creating text input components in custom forms. This descriptor enables users to enter text-based data with support for various input types and can be configured as single or multi-line input.

    public class TextFieldDescriptor : BaseInputDescriptor, ITextFieldDescriptor
    

    Public Members

    namedescription
    TextFieldDescriptor(…) Initializes a new instance of the TextFieldDescriptor class.
    Error { get; set; } Gets a value indicating whether the text field is in an error state. When true, the text field will be rendered with error styling to indicate invalid input or validation failure.
    HelperText { get; set; } Gets the helper text displayed below the text field component. This text provides additional guidance, formatting instructions, or validation information to assist the user.
    InlineTitle { get; set; } Gets a value indicating whether the field title should be displayed inline with the input field rather than above it. When true, the title appears on the same line as the input, providing a more compact layout.
    Multiline { get; set; } Gets a value indicating whether the text field supports multiple lines of text. When true, the text field will render as a textarea allowing multi-line input. When false, it renders as a single-line input field.
    Placeholder { get; set; } Gets the placeholder text displayed in the text field when no value is entered. This text provides a hint to the user about what they should enter.
    Rows { get; set; } Gets the number of visible text lines for multi-line text fields. This property is only applicable when Multiline is true and determines the initial height of the textarea component.
    TextFieldType { get; set; } Gets the type of text field input. This determines the HTML input type and validation behavior. Valid values are defined in TextFieldType.
    Value { get; set; } Gets the current text value entered in the text field. This represents the user's input data that can be retrieved for processing.

    See Also