Skip to content

Commit 716fd91

Browse files
committed
Fix primefaces#6929: Unstyled prop forwarded to InputText
1 parent c7ed9a6 commit 716fd91

File tree

6 files changed

+7
-1
lines changed

6 files changed

+7
-1
lines changed

components/lib/autocomplete/AutoComplete.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -558,6 +558,7 @@ export const AutoComplete = React.memo(
558558
onClick={props.onClick}
559559
onDoubleClick={props.onDblClick}
560560
pt={ptm('input')}
561+
unstyled={props.unstyled}
561562
{...ariaProps}
562563
__parentMetadata={{ parent: metaData }}
563564
/>

components/lib/calendar/Calendar.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4138,6 +4138,7 @@ export const Calendar = React.memo(
41384138
tooltip={props.tooltip}
41394139
tooltipOptions={props.tooltipOptions}
41404140
pt={ptm('input')}
4141+
unstyled={props.unstyled}
41414142
__parentMetadata={{ parent: metaData }}
41424143
/>
41434144
);

components/lib/inputnumber/InputNumber.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export const InputNumber = React.memo(
2525
};
2626
const { ptm, cx, isUnstyled } = InputNumberBase.setMetaData(metaData);
2727

28-
useHandleStyle(InputNumberBase.css.styles, isUnstyled, { name: 'inputnumber' });
28+
useHandleStyle(InputNumberBase.css.styles, isUnstyled, { name: 'inputnumber', styled: true });
2929
const elementRef = React.useRef(null);
3030
const inputRef = React.useRef(null);
3131
const timer = React.useRef(null);
@@ -1188,6 +1188,7 @@ export const InputNumber = React.memo(
11881188
{...ariaProps}
11891189
{...dataProps}
11901190
pt={ptm('input')}
1191+
unstyled={props.unstyled}
11911192
__parentMetadata={{ parent: metaData }}
11921193
/>
11931194
);

components/lib/mention/Mention.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -533,6 +533,7 @@ export const Mention = React.memo(
533533
className: cx('input'),
534534
style: props.inputStyle,
535535
...inputProps,
536+
unstyled: props.unstyled,
536537
onFocus: onFocus,
537538
onBlur: onBlur,
538539
onKeyDown: onKeyDown,

components/lib/multiselect/MultiSelectHeader.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ export const MultiSelectHeader = React.memo((props) => {
7676
className="p-multiselect-filter"
7777
placeholder={props.filterPlaceholder}
7878
pt={ptm('filterInput')}
79+
unstyled={props.unstyled}
7980
__parentMetadata={{ parent: props.metaData }}
8081
/>
8182
{filterIcon}

components/lib/password/Password.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -466,6 +466,7 @@ export const Password = React.memo(
466466
invalid: props.invalid,
467467
variant: props.variant,
468468
style: props.inputStyle,
469+
unstyled: props.unstyled,
469470
tabIndex: props.tabIndex || '0',
470471
tooltip: props.tooltip,
471472
tooltipOptions: props.tooltipOptions,

0 commit comments

Comments
 (0)