Skip to content

Commit

Permalink
#6274 - InputText: It doesnt take classNames when unstyled is true
Browse files Browse the repository at this point in the history
  • Loading branch information
gucal committed Apr 8, 2024
1 parent b23a0d6 commit 4ed1cdf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/lib/inputtext/InputText.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { useHandleStyle } from '../componentbase/ComponentBase';
import { useMergeProps } from '../hooks/Hooks';
import { KeyFilter } from '../keyfilter/KeyFilter';
import { Tooltip } from '../tooltip/Tooltip';
import { DomHandler, ObjectUtils } from '../utils/Utils';
import { DomHandler, ObjectUtils, classNames } from '../utils/Utils';
import { InputTextBase } from './InputTextBase';

export const InputText = React.memo(
Expand Down Expand Up @@ -71,7 +71,7 @@ export const InputText = React.memo(

const rootProps = mergeProps(
{
className: cx('root', { context, isFilled }),
className: classNames(props.className, cx('root', { context, isFilled })),
onBeforeInput: onBeforeInput,
onInput: onInput,
onKeyDown: onKeyDown,
Expand Down

0 comments on commit 4ed1cdf

Please sign in to comment.