Skip to content

Instantly share code, notes, and snippets.

@alexonozor
Created September 2, 2017 08:25
Show Gist options
  • Save alexonozor/b40b28adb87edc57842d8876a93c13e8 to your computer and use it in GitHub Desktop.
Save alexonozor/b40b28adb87edc57842d8876a93c13e8 to your computer and use it in GitHub Desktop.
//rest the the entire form values and status.
this.userForm.reset();
//rest the user name and it status.
this.userForm.reset({
userName: ''
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment