Skip to content

Instantly share code, notes, and snippets.

@Wildhammer
Last active June 12, 2020 20:39
Show Gist options
  • Save Wildhammer/c46d2193535d7aa77ac9e345a446392c to your computer and use it in GitHub Desktop.
Save Wildhammer/c46d2193535d7aa77ac9e345a446392c to your computer and use it in GitHub Desktop.
Passing in the arguments to _handleInput
<div [formGroup]="parts" ...>
<input ... formControlName="area"
(input)="_handleInput(parts.controls.area,exchange)" #area>
...
<input ... formControlName="exchange"
(input)="_handleInput(parts.controls.exchange,subscriber)" #exchange>
...
<input ... formControlName="subscriber"
(input)="_handleInput(parts.controls.subscriber,subscriber)" #subscriber>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment