diff options
author | Enrique Alcantara <ealcantara@gitlab.com> | 2019-04-01 16:06:58 +0300 |
---|---|---|
committer | Enrique Alcantara <ealcantara@gitlab.com> | 2019-04-03 22:22:58 +0300 |
commit | 6ba1a8e9f3a5998319b41d1bab5f4abec0bd0587 (patch) | |
tree | e34ec518220d1b12a8bd2d5914ebbfda9c772800 /app/assets | |
parent | c0a499a3f4a4c51f1d26059dc961bb5581ba93e2 (diff) |
Support url and number inputs in gl_form_errors
Diffstat (limited to 'app/assets')
-rw-r--r-- | app/assets/javascripts/gl_field_errors.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/gl_field_errors.js b/app/assets/javascripts/gl_field_errors.js index d5d5954ce6a..c4fd719c8d0 100644 --- a/app/assets/javascripts/gl_field_errors.js +++ b/app/assets/javascripts/gl_field_errors.js @@ -15,7 +15,7 @@ export default class GlFieldErrors { initValidators() { // register selectors here as needed - const validateSelectors = [':text', ':password', '[type=email]'] + const validateSelectors = [':text', ':password', '[type=email]', '[type=url]', '[type=number]'] .map(selector => `input${selector}`) .join(','); |