I have a problem that I've been trying to solve for some time.
I have 3 inputs that interact with each other to calculate the price with VAT and vice versa.
I leave you a stackblitz so you can see it better. Stackblitz
The problem is, when I write in the precioCompra
the [value]
of precioCompraIva
should change and it does not ... That is, if it does, but I can not capture it.
Can someone tell me how to fix it? or why does it happen?
Thanks in advance
In the constructor I am subscribed to valueChanges, to control the values.
As you can see, when writing in precioCompra
. The value of precioCompraIva
does not change and vice versa neither.