Skip to content
This repository has been archived by the owner on Feb 9, 2024. It is now read-only.

Sorting chips by any field #7

Open
PandiPanda69 opened this issue May 11, 2016 · 2 comments
Open

Sorting chips by any field #7

PandiPanda69 opened this issue May 11, 2016 · 2 comments

Comments

@PandiPanda69
Copy link

PandiPanda69 commented May 11, 2016

Hi !

First good job, this component is really nice.

I have a feature request: giving people a way to sort their chips by any field they want. Actually there are no sorting method:
tmpl.attr('ng-repeat', 'chip in chips.list track by $index');

It might be interesting if we could add an order by, using chip.name or whatever for example.

I don't know if i'll get enough time to make required changes, but what do you think about simply adding an attribute like chip-sort-by to chips-tmpl ?

Cheers

@mohbasheer
Copy link
Owner

Thank you man.

Yeah sorting would be nice to have. Please give me some time. I need to think about all possible scenarios. will get back to you shortly.

@mohbasheer
Copy link
Owner

I am on it now. I am going as per your suggestion with small change. I'll finalize and let you know.

Cheers.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants