summaryrefslogtreecommitdiff
path: root/web-ui/app/templates
diff options
context:
space:
mode:
authorFelix Hammerl <fhammerl@thoughtworks.com>2016-03-03 11:21:09 +0100
committerFelix Hammerl <fhammerl@thoughtworks.com>2016-03-09 15:36:10 +0100
commitd2d6fb98b909021efa435411ec95f554769fa9c9 (patch)
tree5bc6f1c79c7b788a3d7473046b32218f0bd91451 /web-ui/app/templates
parent2b41494b1472049cc056959cb093411c96370145 (diff)
Issue #617: Allow only >=3 alphanumeric characters in search field
Diffstat (limited to 'web-ui/app/templates')
-rw-r--r--web-ui/app/templates/search/search_trigger.hbs2
1 files changed, 1 insertions, 1 deletions
diff --git a/web-ui/app/templates/search/search_trigger.hbs b/web-ui/app/templates/search/search_trigger.hbs
index 376dd04c..f2c410a4 100644
--- a/web-ui/app/templates/search/search_trigger.hbs
+++ b/web-ui/app/templates/search/search_trigger.hbs
@@ -1,3 +1,3 @@
<form>
- <input type="search" pattern="[a-zA-Z0-9\s]*" placeholder="{{t 'search-placeholder'}}"></input>
+ <input type="search" pattern="[a-zA-Z0-9\s]{3,}" placeholder="{{t 'search-placeholder'}}"></input>
</form>