From c6b0ece2e16ae426497bafe888d833ed2e80b01d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Zaninotto?= Date: Sat, 27 Jul 2024 10:18:40 +0200 Subject: [PATCH] Fix InputGuesser Prop type refuses multiline prop Closes #574 --- src/types.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/types.ts b/src/types.ts index 650c55bb..9f9deb49 100644 --- a/src/types.ts +++ b/src/types.ts @@ -497,6 +497,8 @@ export type InputGuesserProps = Omit< 'component' > & { transformEnum?: (value: string | number) => string | number; + // don't know why this TextInputProps doesn't surface in the final type, re-adding it here + multiline?: boolean; } & Pick< ReferenceInputProps | ReferenceArrayInputProps, 'filter' | 'page' | 'perPage' | 'sort' | 'enableGetChoices'