I have a table with bank deposits which contains the next rows:
currency | period | percents.
On frontend I have 2 select fields and 1 input:
<select name="currency" class="form-control" v-model="currency">
<option>USD</option>
<option>EUR</option>
</select>
<select name="period" class="form-control" v-model="period">
<option>6</option>
<option>12</option>
<option>24</option>
</select>
<input class="form-control" type="text" value="@{{ percents }}" v-model="percents">
So I need to get a percentage value into input field depending on these selected options. For example user selects USD and 12 months, and automatically appears percentages for selected options. If somebody will provide just a simple example I would be very happy.