From 3ce44a33028c922002d1f78a6516917b2e5a7b4c Mon Sep 17 00:00:00 2001 From: Markus Thielker Date: Tue, 18 Mar 2025 09:05:37 +0100 Subject: [PATCH] N-FIN-98: remove initialFocus attribute --- src/components/form/paymentForm.tsx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/components/form/paymentForm.tsx b/src/components/form/paymentForm.tsx index 3963d75..c4f968f 100644 --- a/src/components/form/paymentForm.tsx +++ b/src/components/form/paymentForm.tsx @@ -125,10 +125,7 @@ export default function PaymentForm({value, entities, categories, onSubmit, clas { - field.onChange(e); - }} - initialFocus + onSelect={field.onChange} />