How can I set this Smart Select so that a predefined value, say 7.7 is selected?
The model binding to vatRate
works.
I tried with :selected="condition"
but it seemed to have no impact.
Thanks for any hints!
<template>
<f7-list-item title="Mehrwertsteuer:" smart-select :smart-select-params="{openIn: 'popover', closeOnSelect: true}">
<select v-model="vatRate" name="Mehrwertsteuer">
<option value="0">Keine</option>
<option value="2.5">Reduzierter Satz 2.5 %</option>
<option value="3.7">Sondersatz 3.7 %</option>
<option value="7.7">Normalsatz 7.7 %</option>
</select>
</f7-list-item>
</template>