Skip to content
This repository has been archived by the owner on Dec 30, 2022. It is now read-only.

Commit

Permalink
feat(sort-by-selector): add scoped properties to default slot
Browse files Browse the repository at this point in the history
  • Loading branch information
rayrutjes committed May 23, 2017
1 parent 3630d76 commit 6d56622
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/SortBySelector.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<template>
<select :class="bem()" v-model="indexName">
<slot v-for="index in indices" :indexName="indexName">
<slot v-for="index in indices" :indexName="index.name" :label="index.label">
<option :value="index.name">
{{ index.label }}
</option>
Expand Down

0 comments on commit 6d56622

Please sign in to comment.