Axinom Mosaic Libraries
    Preparing search index...

    Interface ReadOnlyFieldProps<T>

    interface ReadOnlyFieldProps<T = any> {
        className?: string;
        hideIfEmpty?: boolean;
        id?: string;
        inlineMode?: boolean;
        label?: string;
        tooltipContent?: ReactNode;
        transform?: TransformerFunction<T, string | number | string[] | number[]>;
        value?: any;
    }

    Type Parameters

    • T = any

    Hierarchy (View Summary)

    Index

    Properties

    className?: string

    CSS Class name for additional styles

    hideIfEmpty?: boolean

    Sets whether the field should not be visible if the value is empty (default: false)

    id?: string

    Form control id

    inlineMode?: boolean

    Hide options not needed in the “inline” scenario

    label?: string

    Form control label

    tooltipContent?: ReactNode

    A tooltip of additional information

    transform?: TransformerFunction<T, string | number | string[] | number[]>

    Transform functions

    value?: any

    Value to be displayed