Skip to content
This repository was archived by the owner on Jun 28, 2026. It is now read-only.

Commit b42edce

Browse files
fix: InputText type fixes
1 parent d31a271 commit b42edce

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

packages/styles/src/inputtext/InputText.style.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ export const styles = createStyles<InputTextInstance>({
1010
root: ({ props, attrs }) => [
1111
'p-inputtext p-component',
1212
{
13-
//'p-filled': props.variant === 'filled',
1413
'p-inputtext-sm p-inputfield-sm': props.size === 'small',
1514
'p-inputtext-lg p-inputfield-lg': props.size === 'large',
1615
'p-invalid': props.invalid,

packages/types/src/shared/inputtext/InputText.types.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,11 @@ export interface InputTextProps extends BaseComponentProps<InputTextInstance, us
4343
* When enabled, the component will stretch to occupy the full width of its container.
4444
*/
4545
fluid?: boolean | undefined;
46+
/**
47+
* When present, it specifies that the component should have invalid state style.
48+
* @default false
49+
*/
50+
invalid?: boolean | undefined;
4651
}
4752

4853
/**

0 commit comments

Comments
 (0)