Ionic 2 Passing Data to Form


#1

I am trying to learn Ionic V2 and am struggling with something that I feel should be simple. I am using formbuilder to grab 2 user values and running a calculation on them in my class. I need to push the result of that calculation back to the form. Can someone point me in the right direction for how this is done in Ionic 2? Previously I used ng-bind-html to post the result in a span.

Thanks in advance for the direction.


#2

Disregard the question. I found “patchValue” does exactly what I am looking for.