Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AutoComplete] does not support numbers for text in dropdown #5110

Closed
andynoelker opened this issue Sep 1, 2016 · 1 comment
Closed

[AutoComplete] does not support numbers for text in dropdown #5110

andynoelker opened this issue Sep 1, 2016 · 1 comment
Labels
component: autocomplete This is the name of the generic UI component, not the React module!

Comments

@andynoelker
Copy link

Problem description

The AutoComplete component does not support arrays of integers, or if using dataSourceConfig, an integer in the text property. My assumption would be that the component would internally convert any submitted numbers to text and show those in the dropdown.

Steps to reproduce

Simply pass in an array of integers as the dataSource for the AutoComplete component.

const dataSource = [1, 2, 3, 4];

return <AutoComplete dataSource={dataSource} />;

Versions

  • Material-UI: 0.15.4
  • React: 15.3.1
  • Browser: Chrome 52.0.2743.116 m (64-bit)
@oliviertassinari oliviertassinari changed the title AutoComplete does not support numbers for text in dropdown [AutoComplete] does not support numbers for text in dropdown Sep 18, 2016
@oliviertassinari
Copy link
Member

Closed by #4783

@oliviertassinari oliviertassinari added the component: autocomplete This is the name of the generic UI component, not the React module! label Apr 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: autocomplete This is the name of the generic UI component, not the React module!
Projects
None yet
Development

No branches or pull requests

2 participants