Let's say I have two input tags (type number
) where each one of them has a specific value (one starts in 0 and the other in 1000),
and when I change the value of the first, for example from 0 to 200, the other one should change dynamically to the contrary respective value, in this case, 800.
input1 = 0 --> if change to 200 input2 = 1000 --> this changes to 800
All this must be done in Vue js. Please if someone can help me I'll be very thankful.