Skip to content

Commit

Permalink
Fix: [ITEM] Floating label input with icon bug #2835
Browse files Browse the repository at this point in the history
  • Loading branch information
William Paulo committed Aug 2, 2019
1 parent fdad62d commit 19ec839
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/basic/Item.js
Expand Up @@ -156,7 +156,7 @@ class Item extends Component {
) {
isIcon = true;
newChildren.push(
<Icon key={[i]} {...this.props.children[i].props} />
<Icon key={i} {...this.props.children[i].props} />
);
}
if (this.props.children[i].props.children || this.props.children[i].props.placeholder) {
Expand Down

0 comments on commit 19ec839

Please sign in to comment.