I'm trying to figure out how can I copy primary email to alternate email when user click on checkbox. I'm using angular-formly
directive of angular. I stuck in this small implementation.
Here is the Plunkr
Any help would be appreciated.
I'm trying to figure out how can I copy primary email to alternate email when user click on checkbox. I'm using angular-formly
directive of angular. I stuck in this small implementation.
Here is the Plunkr
Any help would be appreciated.
Easiest way is to add a watch on the checkbox and then set the alternative email to the email address.