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

disabled option is not updated #3

Open
avados opened this issue Aug 5, 2016 · 2 comments
Open

disabled option is not updated #3

avados opened this issue Aug 5, 2016 · 2 comments

Comments

@avados
Copy link

avados commented Aug 5, 2016

Hi,

My list is observable, and depending on the type, sorting should be disabled or enabled, but it seems that when my boolean is updated, it is not in sortable:

<ul data-bind="sortable: {foreach: layerArray, disabled: layerEditable(), options: { onEnd: stepSwitchPositionEnd , handle: '.dragHandle'}}">

@avados
Copy link
Author

avados commented Aug 5, 2016

I was able to go over this problem setting the css for the handle when needed, but the original issue is still there

@itaibh
Copy link

itaibh commented Oct 10, 2016

I suggested a fix (pull request) in issue #5

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