From bb2a3b091d3663197c286edb8ce127a258815436 Mon Sep 17 00:00:00 2001 From: ilkin-overleaf <100852799+ilkin-overleaf@users.noreply.github.com> Date: Fri, 14 Jun 2024 12:31:41 +0300 Subject: [PATCH] Merge pull request #18911 from overleaf/ii-new-project-modal-fix [web] Allow creating new project by submitting the form with keyboard GitOrigin-RevId: e04e70a0713299d6d8459755359d16ea7755c67e --- services/web/frontend/js/features/ui/components/ol/ol-form.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/services/web/frontend/js/features/ui/components/ol/ol-form.tsx b/services/web/frontend/js/features/ui/components/ol/ol-form.tsx index 191ce945a2..a7f2be1295 100644 --- a/services/web/frontend/js/features/ui/components/ol/ol-form.tsx +++ b/services/web/frontend/js/features/ui/components/ol/ol-form.tsx @@ -13,6 +13,7 @@ function OLForm(props: OLFormProps) { componentClass: rest.as, bsClass: rest.className, children: rest.children, + onSubmit: rest.onSubmit as React.FormEventHandler | undefined, ...bs3Props, }