From 4240ab69ea8e5ca99ae87854a96a42753826567f Mon Sep 17 00:00:00 2001 From: melloware Date: Fri, 10 Nov 2023 12:52:46 -0500 Subject: [PATCH] Fix #5283: InputText size TS fix --- 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..4df10d5b35 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; /** * Content of the tooltip. */