Initialize fieldValidator with null instead of false
This commit is contained in:
parent
bed984f5a9
commit
04f75fc30d
1 changed files with 1 additions and 1 deletions
|
|
@ -41,7 +41,7 @@ class Input extends Canvas {
|
|||
this.stringValue = ''
|
||||
this.focused = false
|
||||
this.tabKeyBlur = false
|
||||
this.fieldValidator = false
|
||||
this.fieldValidator = null
|
||||
|
||||
if (this.getProp('vertical')) this.widget.classList.add('vertical')
|
||||
if (this.getProp('align') === 'left') this.widget.classList.add('left')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue