vue-dropdown icon indicating copy to clipboard operation
vue-dropdown copied to clipboard

Options value are not being displayed because `option` and `i` are inverted

Open agardes opened this issue 1 year ago • 0 comments

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>

agardes avatar Mar 10 '23 08:03 agardes