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

Commit

Permalink
Select: fix the bug when the value is Boolean (ElemeFE#21052)
Browse files Browse the repository at this point in the history
  • Loading branch information
CarterLi committed Nov 19, 2021
1 parent 00d39e7 commit 86840cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/select/src/select.vue
Original file line number Diff line number Diff line change
Expand Up @@ -542,7 +542,7 @@
if (!result) {
result = {
value: value,
currentLabel: isObject ? value[this.labelKey] : value != null ? value : ''
currentLabel: isObject ? value[this.labelKey] : value != null ? value + '' : ''
};
if (this.multiple) {
result.hitState = false;
Expand Down

0 comments on commit 86840cc

Please sign in to comment.