Axinom Mosaic Libraries
    Preparing search index...

    Interface CreateSelectRendererConfig

    interface CreateSelectRendererConfig {
        autofocus?: boolean;
        defaultValue?: string;
        id?: string;
        name?: string;
        options?: { label: string; value: string | number }[];
        placeholder?: string;
        transform?: (value: string) => unknown;
    }

    Hierarchy (View Summary)

    Index

    Properties

    autofocus?: boolean

    Optional autofocus on render (default: false)

    defaultValue?: string

    A value set at initialization and after each time data has been added to the DynamicList component This property should always match a value from the options array

    id?: string

    id html element id attribute

    name?: string

    element name attribute

    options?: { label: string; value: string | number }[]

    Array of options that can be selected from

    placeholder?: string

    element placeholder attribute

    transform?: (value: string) => unknown

    Optional transformer that will change the final value to match the return value