@dxos/react-ui
    Preparing search index...

    Type Alias PasswordProps

    PasswordProps: ThemedClassName<
        Pick<
            PasswordInputPrimitive.RootProps,
            | "visible"
            | "defaultVisible"
            | "autoComplete"
            | "ignorePasswordManagers"
            | "disabled"
            | "readOnly"
            | "required"
            | "invalid"
            | "name",
        >,
    > & {
        "aria-label"?: string;
        autoFocus?: boolean;
        "data-testid"?: string;
        defaultValue?: string;
        hideLabel?: string;
        onBlur?: FocusEventHandler<HTMLInputElement>;
        onValueChange?: (value: string) => void;
        onVisibleChange?: (visible: boolean) => void;
        placeholder?: string;
        showLabel?: string;
        value?: string;
    }

    Type declaration

    • Optionalaria-label?: string
    • OptionalautoFocus?: boolean
    • Optionaldata-testid?: string
    • OptionaldefaultValue?: string
    • OptionalhideLabel?: string

      Overrides the translated password-input.hide.label.

    • OptionalonBlur?: FocusEventHandler<HTMLInputElement>

      Focus leaving the input, e.g. to commit a draft.

    • OptionalonValueChange?: (value: string) => void
    • OptionalonVisibleChange?: (visible: boolean) => void
    • Optionalplaceholder?: string
    • OptionalshowLabel?: string

      Overrides the translated password-input.show.label.

    • Optionalvalue?: string