Axinom Mosaic Libraries
    Preparing search index...

    Interface SingleLineTextProps

    interface SingleLineTextProps {
        autoComplete?: "on" | "off";
        autoFocus?: boolean;
        className?: string;
        defaultValue?: string | number | readonly string[];
        disabled?: boolean;
        error?: string;
        id?: string;
        inlineMode?: boolean;
        innerRef?: RefObject<HTMLInputElement>;
        inputProps?: InputHTMLAttributes<HTMLInputElement>;
        isSet?: boolean;
        label?: string;
        name: string;
        onBlur?: (event: ChangeEvent<HTMLInputElement>) => void;
        onChange?: (event: ChangeEvent<HTMLInputElement>) => void;
        onFocus?: (event: ChangeEvent<HTMLInputElement>) => void;
        placeholder?: string;
        tooltipContent?: ReactNode;
        type?: "number" | "text" | "password";
        value?: string | number | readonly string[];
    }

    Hierarchy (View Summary)

    Index

    Properties

    autoComplete?: "on" | "off"

    Whether or not the control supports auto complete

    autoFocus?: boolean

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

    className?: string

    CSS Class name for additional styles

    defaultValue?: string | number | readonly string[]

    Default value for the form control

    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

    innerRef?: RefObject<HTMLInputElement>
    inputProps?: InputHTMLAttributes<HTMLInputElement>

    Additional props to be passed to the input element.

    isSet?: boolean

    This property is only used in combination with type='password'.

    Use this to signalize the textbox whether it should act like a value is already set, eventhough the actual value is empty. This is useful if the backend just indicates that a password is set, but doesn't give out the actual value.

    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: ChangeEvent<HTMLInputElement>) => void

    Raised when the element has been selected

    onChange?: (event: ChangeEvent<HTMLInputElement>) => void

    Raised when the value has changed

    onFocus?: (event: ChangeEvent<HTMLInputElement>) => void

    Raised when the element has been de-selected

    placeholder?: string

    Input placeholder

    tooltipContent?: ReactNode

    A tooltip of additional information

    type?: "number" | "text" | "password"

    Input element type

    value?: string | number | readonly string[]

    Current value the form control has