Skip to content

Instantly share code, notes, and snippets.

@dmitry-stepanenko
Created September 3, 2022 11:10
Show Gist options
  • Save dmitry-stepanenko/bf88756bda6f317ae34e1fe47fe6e533 to your computer and use it in GitHub Desktop.
Save dmitry-stepanenko/bf88756bda6f317ae34e1fe47fe6e533 to your computer and use it in GitHub Desktop.
const control = new FormControl('Hello, world!');
control.reset();
console.log(control.value); // null
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment