@resistdesign/voltra
    Preparing search index...

    Type Alias CustomTypeActionPayload

    Payload for custom type action callbacks.

    type CustomTypeActionPayload = {
        action: CustomTypeAction;
        customType: string;
        field: TypeInfoField;
        fieldKey: string;
        index?: number;
        onChange: (value: FormValue) => void;
        value: FormValue | undefined;
    }
    Index

    Properties

    Custom type action to perform.

    customType: string

    Custom type identifier.

    Field metadata for the custom type.

    fieldKey: string

    Field key that initiated the action.

    index?: number

    Index when acting on an array item.

    onChange: (value: FormValue) => void

    Change handler to update the custom value.

    value: FormValue | undefined

    Current value for the custom type.