Skip to content
This repository has been archived by the owner on Jun 27, 2023. It is now read-only.

Commit

Permalink
fix(select): using key as value in options
Browse files Browse the repository at this point in the history
  • Loading branch information
alvarosabu committed Sep 29, 2020
1 parent ba36fd9 commit 2e88f65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/select-input/SelectInput.vue
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export default defineComponent({
);
const options = props?.control?.options?.map(({ key, value, disabled }) =>
h('option', { key, value, disabled }, value),
h('option', { key, value: key, disabled }, value),
);
return h(
'select',
Expand Down

0 comments on commit 2e88f65

Please sign in to comment.