Issue #8: Done.
This commit is contained in:
@@ -78,7 +78,7 @@ export default {
|
|||||||
* if input no value , disabled.
|
* if input no value , disabled.
|
||||||
*/
|
*/
|
||||||
isDisabledButton() {
|
isDisabledButton() {
|
||||||
let inputAreSpaces = this.auth.username === '' || this.auth.password === '';
|
let inputAreSpaces = this.auth.username === '' || this.auth.password === '' || this.isInvalid === true;
|
||||||
return this.isDisabled = inputAreSpaces ? true : false;
|
return this.isDisabled = inputAreSpaces ? true : false;
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user