mirror of
https://seed.radicle.dev/rad:z4D5UCArafTzTQpDZNQRuqswh3ury.git
synced 2026-11-21 18:50:41 +08:00
Allow creating issues with only a subject
This commit is contained in:
@@ -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")}
|
||||
|
||||
@@ -164,7 +164,6 @@
|
||||
bind:this={commentBox}
|
||||
textAreaSize="fixed-height"
|
||||
disableSubmit={title.trim() === ""}
|
||||
disallowEmptyBody
|
||||
styleMinHeight="20rem"
|
||||
submitVariant="secondary"
|
||||
submitCaption="Save"
|
||||
|
||||
Reference in New Issue
Block a user