diff --git a/components/lib/password/Password.js b/components/lib/password/Password.js index 8bdd20c947..8cb3829d95 100644 --- a/components/lib/password/Password.js +++ b/components/lib/password/Password.js @@ -2,7 +2,7 @@ import * as React from 'react'; import PrimeReact, { PrimeReactContext, localeOption } from '../api/Api'; import { useHandleStyle } from '../componentbase/ComponentBase'; import { CSSTransition } from '../csstransition/CSSTransition'; -import { useMountEffect, useOverlayListener, useUnmountEffect, useOnEscapeKey } from '../hooks/Hooks'; +import { useMountEffect, useOnEscapeKey, useOverlayListener, useUnmountEffect } from '../hooks/Hooks'; import { EyeIcon } from '../icons/eye'; import { EyeSlashIcon } from '../icons/eyeslash'; import { InputText } from '../inputtext/InputText'; @@ -401,7 +401,7 @@ export const Password = React.memo( ref: inputRef, id: props.inputId, ...inputProps, - className: cx('input'), + className: classNames(props.inputClassName, cx('input')), onBlur: onBlur, onFocus: onFocus, onInput: onInput,