Allow creating issues with only a subject

This commit is contained in:
Rūdolfs Ošiņš
2026-09-29 16:57:11 +02:00
parent ca80f13631
commit 4d45516970
3 changed files with 66 additions and 3 deletions
+2 -2
View File
@@ -439,7 +439,7 @@
if (!preview) return;
if (matchesShortcut(event, "submit")) {
event.preventDefault();
void submit({ comment: body, embeds });
triggerSubmit();
}
}}>
<div class="textarea-wrap">
@@ -463,7 +463,7 @@
bind:selectionStart
onpaste={handlePaste}
{focus}
submit={() => submit({ comment: body, embeds })}
submit={async () => triggerSubmit()}
bind:value={body}
{placeholder} />
{#if !hints.isDismissed("markdown")}
-1
View File
@@ -164,7 +164,6 @@
bind:this={commentBox}
textAreaSize="fixed-height"
disableSubmit={title.trim() === ""}
disallowEmptyBody
styleMinHeight="20rem"
submitVariant="secondary"
submitCaption="Save"