Open Dr4gon opened 1 year ago
@fedect1 You can do the inline function in HTML and it will very hard to debug that.
button.btn(type='submit' :disabled="password1 !== password2 || !password1 || !password2") Create account
I personally prefer calling a function with params to able to debug properly and also to separate login concerns from the HTML code.
@fedect1 You can do the inline function in HTML and it will very hard to debug that.
I personally prefer calling a function with params to able to debug properly and also to separate login concerns from the HTML code.