-
Notifications
You must be signed in to change notification settings - Fork 163
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
Work without alphabetically keyed datasource #17
Comments
It will accept an array also, but it does need to be structured as on object with the keys if you want the sections & ABC jump-to. I suppose you raise an excellent point. Without those features, why would one use this component? |
I tried to preserve the ability to use an object but gave up. What I have here is a component that actually requires a field (I need to change that) to sort on and will accept only an array of objects. I think this is a much more common case. I changed the |
@ssomnoremac have u merged this ? |
Please correct me if I'm missing something but based on the example I need to format my data source to be keyed on the first letter of the word and then also sort the array of values? Shouldn't a tool like this assume do this automatically on a given field within that data? like:
sortOn: "user.name"
Let me know if I'm missing something otherwise I'm forking and getting it to work that way.
The text was updated successfully, but these errors were encountered: