TeamWertarbyte / material-ui-chip-input

A chip input field using Material-UI.
https://mui.wertarbyte.com/#material-ui-chip-input
MIT License
737 stars 208 forks source link

dataSource doesn't appear to have any effect #328

Closed davidjan3 closed 4 years ago

davidjan3 commented 4 years ago

I'm looking for a way to limit the user input to preset tags. Thus it would be nice to have an autocompletion, so the user knows what tags they can add. From the docs it read dlike dataSource should do the trick - but it doesn't appear to have any effect...?

leMaik commented 4 years ago

There is no auto completion in the version for MUI v1 and later. You could use Material UI's chip input instead: https://material-ui.com/components/autocomplete/

davidjan3 commented 4 years ago

For some reason I didn't find that one when I was looking for a Material-UI version of Angular Material's Chip Input (probably because it's in the Lab section). It's exactly what I'm looking for, so thanks alot for showing me the obvious that I didn't see :D