Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var that = this;
- this.myForm = this.FormBuilder.group({
- username: ["", this.Validators.required],
- password: ["", this.Validators.required],
- bio: ["", this.Validators.required],
- });
- this.create = function() {
- console.log("VALUES", that.myForm.valid, that.myForm.value);
- };
Add Comment
Please, Sign In to add comment