Support url and number inputs in gl_form_errors

This commit is contained in:
Enrique Alcantara 2019-04-01 09:06:58 -04:00
parent c0a499a3f4
commit 6ba1a8e9f3
1 changed files with 1 additions and 1 deletions

View File

@ -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(',');