[Vuejs]-Passing vuejs input value to multiple data

3👍

You can use this syntax to pass input value to multiple variables:

<input
   :value="money_transfer.amount"
   @input="money_transfer.amount = money_transfer.source_amount = money_transfer.target_amount = $event.target.value"
>
👤Dmytro

Leave a comment