Home > @uniformdev/design-system > ParameterNameAndPublicIdInputProps

ParameterNameAndPublicIdInputProps type

Signature:

type ParameterNameAndPublicIdInputProps = {
    id?: undefined | string;
    label?: string;
    readOnly?: boolean;
    warnOverLength?: {
        length: number;
        message: string;
    };
    nameIdField?: string;
    nameCaption?: string;
    namePlaceholderText?: string;
    publicIdFieldName?: string;
    publicIdCaption?: string;
    publicIdPlaceholderText?: string;
    onBlur?: FocusEventHandler;
    onNameChange: (e: ChangeEvent<HTMLInputElement>) => void;
    nameIdError?: string;
    onPublicIdChange: (e: ChangeEvent<HTMLInputElement>) => void;
    publicIdError?: string;
    autoFocus?: () => void;
    values: Record<string, string>;
    hasInitialPublicIdField?: boolean;
};