Skip to content

Commit

Permalink
fix(Select): warning in select base, close #771
Browse files Browse the repository at this point in the history
  • Loading branch information
youluna committed Jun 6, 2019
1 parent 5c9dcb1 commit dae7047
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/select/select.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -1046,7 +1046,11 @@ class Select extends Base {
});

const searchInput = [
isSingle && valueNodes ? <em>{valueNodes}</em> : valueNodes,
isSingle && valueNodes ? (
<em key="select-value">{valueNodes}</em>
) : (
valueNodes
),
];
const triggerSearch = (
<span
Expand Down

0 comments on commit dae7047

Please sign in to comment.