From 5ebccbf250612e88e9e61280b63892d7590e992b Mon Sep 17 00:00:00 2001 From: Melloware Date: Fri, 10 Nov 2023 12:57:48 -0500 Subject: [PATCH] Fix #5283: InputText size TS fix (#5284) --- components/lib/inputtext/inputtext.d.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/components/lib/inputtext/inputtext.d.ts b/components/lib/inputtext/inputtext.d.ts index e5a62ba89e..2ee1a3f403 100644 --- a/components/lib/inputtext/inputtext.d.ts +++ b/components/lib/inputtext/inputtext.d.ts @@ -66,11 +66,15 @@ export interface InputTextContext { * Defines valid properties in InputText component. In addition to these, all properties of HTMLInputElement can be used in this component. * @group Properties */ -export interface InputTextProps extends Omit, HTMLInputElement>, 'onInput' | 'ref' | 'value'> { +export interface InputTextProps extends Omit, HTMLInputElement>, 'onInput' | 'ref' | 'value' | 'size'> { /** * Format definition of the keys to block. */ keyfilter?: KeyFilterType; + /** + * Size of the input. + */ + size?: number | string | undefined; /** * Content of the tooltip. */