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 d35161c commit b1cc4bfCopy full SHA for b1cc4bf
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 maxlength="7">
+ <input name="color" value="#70c24a" placeholder="#c320f6" required pattern="^#?([\dA-Fa-f]{3}|[\dA-Fa-f]{6})$" maxlength="7">
54
{{template "repo/issue/label_precolors"}}
55
</div>
56
0 commit comments