Rallly is an open-source scheduling and collaboration tool designed to make organizing events and meetings easier.
TypeScript i18nextnext-authnextjspostgresqlprismareact-emailt3-stacktailwindcsstrpcturborepotypescriptzod
Prevent submitting form from name field
Luke Vella88943ce1badd
diff --git a/src/components/poll/desktop-poll/participant-row-form.tsx b/src/components/poll/desktop-poll/participant-row-form.tsxindex e868157f5..8bdc237d7 100644--- a/src/components/poll/desktop-poll/participant-row-form.tsx+++ b/src/components/poll/desktop-poll/participant-row-form.tsx@@ -100,6 +100,12 @@ const ParticipantRowForm: React.ForwardRefRenderFunction<}, 100);}}}+ onKeyPress={(e) => {+ if (e.code === "Enter") {+ e.preventDefault();+ checkboxRefs.current[0]?.focus();+ }+ }}/></div>)}