Skip to content

Commit

Permalink
include full option in case "store raw data" is being used (#1519)
Browse files Browse the repository at this point in the history
  • Loading branch information
macgyver authored Aug 16, 2021
1 parent 1e1fd47 commit 25e8521
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions inputs/select.vue
Original file line number Diff line number Diff line change
Expand Up @@ -169,8 +169,8 @@
}
return {
[this.valueKey]: this.equalLabelValueKeys ? option[label] : option[this.valueKey],
[label]: option[label]
...option, // spread the whole object in case it has extra properties
[this.valueKey]: this.equalLabelValueKeys ? option[label] : option[this.valueKey]
};
});
Expand Down

0 comments on commit 25e8521

Please sign in to comment.