Request

Response

    ITextFieldDescriptor interface

    Represents the interface for text field input descriptors used in custom forms. This interface defines properties specific to text input components that allow users to enter text-based data. The text field can be configured for different input types and supports single-line and multi-line text input.

    public interface ITextFieldDescriptor : IInputDescriptor
    

    Members

    namedescription
    Error { get; } 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; } 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; } 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; } 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; } 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; } 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; } Gets the type of text field input. This determines the HTML input type and validation behavior. Valid values are defined in TextFieldType.
    Value { get; } 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