From 93b3b25d7101e06acfd2f3f48f385b7da68e0ba8 Mon Sep 17 00:00:00 2001 From: Alex Lanz Date: Thu, 14 Sep 2023 10:33:04 +0200 Subject: [PATCH] fix jumping select-item-size --- .../SelectItemFormField/SelectItemFormFieldDialog.tsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/components/react-hook-form/SelectItemFormField/SelectItemFormFieldDialog.tsx b/src/components/react-hook-form/SelectItemFormField/SelectItemFormFieldDialog.tsx index 2a5d0ed7..db4827dc 100644 --- a/src/components/react-hook-form/SelectItemFormField/SelectItemFormFieldDialog.tsx +++ b/src/components/react-hook-form/SelectItemFormField/SelectItemFormFieldDialog.tsx @@ -55,7 +55,6 @@ export type SelectItemFormFieldDialogProps = DialogProps & { renderErrorMessage: (error: Error) => ReactNode noSearchResults: string paginationConfig: { indexType: IndexType } - numberOfLoadingItems?: number title: ReactNode } @@ -70,7 +69,6 @@ export function SelectItemFormFieldDialog({ renderErrorMessage, noSearchResults, paginationConfig, - numberOfLoadingItems = 5, title, ...props }: SelectItemFormFieldDialogProps): ReactElement { @@ -126,7 +124,7 @@ export function SelectItemFormFieldDialog({ )} renderLoading={ }