Unchange username_validator.
This commit is contained in:
parent
4b4fde7528
commit
b351b26693
|
@ -25,6 +25,7 @@
|
|||
|
||||
this.inputElement.on('keyup.username_check', () => {
|
||||
const username = this.inputElement.val();
|
||||
|
||||
this.state.valid = this.inputDomElement.validity.valid;
|
||||
this.state.empty = !username.length;
|
||||
|
||||
|
|
Loading…
Reference in New Issue