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

[layout] Allow orderAttribute to accept duplicate and non-consecutive values #246

Open
dsinni opened this issue Oct 3, 2019 · 0 comments

Comments

@dsinni
Copy link
Contributor

dsinni commented Oct 3, 2019

As it is now, it seems that when setting orderAttribute, the attribute values must be unique, consecutive and must also start from 0 or items are not displayed.

Regarding starting from 0, bind-for in state makes using this impossible, due to #245

It would be great if duplicate values and gaps in values were also allowed as strictly consecutive, unique numbers starting from 0 are not always practical.

See this demo for examples:
https://glitch.com/edit/#!/silicon-cold

Thanks!

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

No branches or pull requests

1 participant