cockpit-plugin-base-react - v1.1.1
    Preparing search index...

    Interface ExternalAddressInputProps

    interface ExternalAddressInputProps {
        builtinSchemes?: string[];
        host: string;
        hostPlaceholder?: string;
        hostValidated?: "error" | "success" | "warning" | "default";
        isDisabled?: boolean;
        onHostChange: (host: string) => void;
        onPortChange: (port: string) => void;
        onSchemeChange: (scheme: string) => void;
        port: string;
        portPlaceholder?: string;
        portValidated?: "error" | "success" | "warning" | "default";
        scheme: string;
        schemeCustomLabel?: string;
        schemeNoneLabel?: string;
        suggestedSchemes?: string[];
    }
    Index

    Properties

    builtinSchemes?: string[]

    Protocol presets shown in the dropdown, e.g. ["http", "https"]. This component has no built-in protocol list of its own — callers own the preset list for their domain (HTTP schemes, gRPC, etc). Defaults to an empty list.

    host: string

    Hostname / IP for the listener. Empty string means bind all interfaces.

    hostPlaceholder?: string
    hostValidated?: "error" | "success" | "warning" | "default"
    isDisabled?: boolean
    onHostChange: (host: string) => void
    onPortChange: (port: string) => void
    onSchemeChange: (scheme: string) => void
    port: string

    Port as a string (to preserve empty/partial input state).

    portPlaceholder?: string
    portValidated?: "error" | "success" | "warning" | "default"
    scheme: string

    Current protocol string, e.g. "https". Empty string means no protocol.

    schemeCustomLabel?: string
    schemeNoneLabel?: string
    suggestedSchemes?: string[]

    Extra protocol options shown in addition to builtinSchemes. Duplicates are ignored.