Skip to content

Commit

Permalink
Fix primefaces#5385: Password inputClassname missing
Browse files Browse the repository at this point in the history
  • Loading branch information
melloware committed Jan 9, 2024
1 parent a09134d commit fe67639
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/lib/password/Password.js
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit fe67639

Please sign in to comment.