vue-dropdown
vue-dropdown copied to clipboard
Options value are not being displayed because `option` and `i` are inverted
Found out that options weren't being displayed because in the v-for loop, option
and i
are in the wrong order.
That is the correct order :
<div v-expand="isExpanded" class="options expand">
<div
v-for="(option, i) in configOptions"
:key="'option-' + i"
class="option"
@click="setCurrentSelectedOption(option);"
>
{{ option.value }}
</div>
</div>