mirror of
https://github.com/makeplane/plane.git
synced 2026-02-11 16:49:31 -06:00
[RANTS-29] fix: enter key does not work in the workspace member invite modal (#6816)
This commit is contained in:
@@ -16,13 +16,7 @@ export const InvitationForm = observer((props: TInvitationFormProps) => {
|
||||
const { title, description, children, actions, onSubmit, className } = props;
|
||||
|
||||
return (
|
||||
<form
|
||||
onSubmit={onSubmit}
|
||||
onKeyDown={(e) => {
|
||||
if (e.code === "Enter") e.preventDefault();
|
||||
}}
|
||||
className={className}
|
||||
>
|
||||
<form onSubmit={onSubmit} className={className}>
|
||||
<div className="space-y-4">
|
||||
<Dialog.Title as="h3" className="text-lg font-medium leading-6 text-custom-text-100">
|
||||
{title}
|
||||
|
||||
Reference in New Issue
Block a user