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

Changing limitBy limit through data doesn't seem to work #2105

Closed
larsboldt opened this issue Jan 3, 2016 · 1 comment
Closed

Changing limitBy limit through data doesn't seem to work #2105

larsboldt opened this issue Jan 3, 2016 · 1 comment

Comments

@larsboldt
Copy link

While changing offset using this method seem to work, changing limit doesn't re-render the list correctly after a value change. Changing value in select box correctly updates data.limit, but the list seem to end up without a limit afterwards and nothing happens on further changes.

See: http://jsbin.com/mucexutenu/edit?html,output

@yyx990803
Copy link
Member

This is because the <select> value is a string instead of a number. This probably should work even if it's a string, but before the next release you can just add number on <select> to force its value to be a number.

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

2 participants