We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 10bd974 commit 6c3aa9bCopy full SHA for 6c3aa9b
templates/repo/issue/labels/label_edit_modal.tmpl
@@ -50,7 +50,7 @@
50
<div class="field">
51
<label for="color">{{ctx.Locale.Tr "repo.issues.label_color"}}</label>
52
<div class="column js-color-picker-input">
53
- <input name="color" value="#70c24a" placeholder="#c320f6" required pattern="^#?[A-Fa-f0-9]+$" maxlength="7">
+ <input name="color" value="#70c24a" placeholder="#c320f6" required pattern="^#?(?:[A-Fa-f0-9]{3}|[A-Fa-f0-9]{6})$" maxlength="7">
54
{{template "repo/issue/label_precolors"}}
55
</div>
56
0 commit comments