Skip to content

Commit

Permalink
Merge pull request #4642 from matiaslarsson/patch-2
Browse files Browse the repository at this point in the history
[AutoComplete] Use dataSourceConfig.text instead of value when rendering MenuItems from objects
  • Loading branch information
oliviertassinari committed Jul 7, 2016
2 parents 51739e0 + 3656a8f commit 6d7a4ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/AutoComplete/AutoComplete.js
Original file line number Diff line number Diff line change
Expand Up @@ -449,7 +449,7 @@ class AutoComplete extends Component {
value: (
<MenuItem
innerDivStyle={styles.innerDiv}
primaryText={itemValue}
primaryText={itemText}
disableFocusRipple={disableFocusRipple}
key={index}
/>),
Expand Down

0 comments on commit 6d7a4ad

Please sign in to comment.