Axinom Mosaic Libraries
    Preparing search index...

    Interface CreateInputRendererConfig

    interface CreateInputRendererConfig {
        autofocus?: boolean;
        id?: string;
        name?: string;
        placeholder?: string;
        transform?: (value: string) => unknown;
        type?: "number" | "text" | "password";
    }

    Hierarchy (View Summary)

    Index

    Properties

    autofocus?: boolean

    Optional autofocus on render (default: false)

    id?: string

    id html element id attribute

    name?: string

    element name attribute

    placeholder?: string

    element placeholder attribute

    transform?: (value: string) => unknown

    optional transformer that will change the current value with each keypress. does not work with 'mask' prop. mainly used for trim().

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

    Input element type