Documentation
    Preparing search index...

    Type Alias InputProps<ValueType, ElementType>

    InputProps: Omit<BaseComponentProps<ElementType>, "children"> & Pick<
        InteractiveComponentProps<ValueType>,

            | "value"
            | "isReadOnly"
            | "isLoading"
            | "isDisabled"
            | "error"
            | "onFocusChange"
            | "onChange"
            | "onValidChange",
    > & Partial<
        {
            autoComplete: React.HTMLInputAutoCompleteAttribute;
            disallowAnalyticsValueCapture: boolean;
            disallowSpecialCharacters: boolean;
            focusOnMount: boolean;
            formatter: (value: ValueType, isFocused: boolean) => string | null;
            iconName: IconName;
            iconWeight: IconWeight;
            label: string;
            leftElement: React.ReactNode;
            maxDecimalPrecision: number;
            maxNumber: number;
            minDecimalPrecision: number;
            minNumber: number;
            mode: "text" | "numeric" | "decimal" | "email" | "tel" | "url";
            multiValueDelimiter: string;
            onEnterPress: () => void;
            placeholder: string;
            rightElement: React.ReactNode;
            showInvalidFeedbackWhenReadOnly: boolean;
            showNullifyButton: boolean;
            type: "text" | "number";
            variant: "base" | "textarea" | "multi-value";
        },
    >

    Type Parameters

    • ValueType = number | string
    • ElementType = HTMLInputElement