Axinom Mosaic Libraries
    Preparing search index...

    Interface TextAreaProps

    interface TextAreaProps {
        autoFocus?: boolean;
        className?: string;
        disabled?: boolean;
        error?: string;
        id?: string;
        inlineMode?: boolean;
        label?: string;
        name: string;
        onBlur?: (event: FormEvent<HTMLTextAreaElement>) => void;
        onChange?: (event: FormEvent<HTMLTextAreaElement>) => void;
        onFocus?: (event: FormEvent<HTMLTextAreaElement>) => void;
        placeholder?: string;
        rows?: number;
        tooltipContent?: ReactNode;
        value?: string;
    }

    Hierarchy (View Summary)

    Index

    Properties

    autoFocus?: boolean

    Whether or not the control should start focused (default: false)

    className?: string

    CSS Class name for additional styles

    disabled?: boolean

    Whether or not the control is disabled (default: false)

    error?: string

    If set, indicates the control has an error and will display this prop as the error message

    id?: string

    Form control id

    inlineMode?: boolean

    Hide options not needed in the “inline” scenario

    label?: string

    Form control label

    name: string

    Name of form control, required and must be unique from other form control names. This name should match the the name of the object corresponding to this control.

    onBlur?: (event: FormEvent<HTMLTextAreaElement>) => void

    Raised when the element has been selected

    onChange?: (event: FormEvent<HTMLTextAreaElement>) => void

    Raised when the value has changed

    onFocus?: (event: FormEvent<HTMLTextAreaElement>) => void

    Raised when the element has been de-selected

    placeholder?: string

    Input placeholder

    rows?: number

    Number of visible text lines (default: 5)

    tooltipContent?: ReactNode

    A tooltip of additional information

    value?: string

    Current value the form control has