-
-
Notifications
You must be signed in to change notification settings - Fork 32.4k
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] Add key support for dataSource, add sort function property #3182
Conversation
@yongxu Thanks for doing this. 👍 Please could you take a look at the linting errors. |
innerDivStyle={{overflow: 'hidden'}} | ||
value={item} | ||
primaryText={item} | ||
/>) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add a comma:/>),
, and possibly put ),
on its own line. (Not sure what the preferred house style is?)
@mbrookes sorry moving took longer than expected. Just got time to work on this again, now trying to fix this asap! |
added sort function prop
6dc1f04
to
a7a91fc
Compare
…o yongxu/ac3137 Conflicts: src/auto-complete.jsx fixed issue mui#3137, removed key from last commit and resolved conflicts NOTE: open should not be an state, need to be fixed in the future
@yongxu - sorry this got left behind. Please could you rebase and squash, we'll get this merged before it gets more merge conflicts! |
@mbrookes Oops, it is my bad I forgot it too. I am going to work on this rebase |
Thank you @yongxu - sorry for the trouble! |
@mbrookes Looks like this PR is too hard to rebase. I am going to rewrite some of the changes and start another PR that includes all the updates from this one. Will finish either tonight or tomorrow :) |
The rewritten PR is finished, please checkout #3662 |
added key support for dataSource.
added sort function prop as well.
Closes #3137.