Support url and number inputs in gl_form_errors
This commit is contained in:
parent
c0a499a3f4
commit
6ba1a8e9f3
1 changed files with 1 additions and 1 deletions
|
@ -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(',');
|
||||
|
||||
|
|
Loading…
Reference in a new issue