-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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 Prop #142
Comments
Hello @Toilal, it is already possible to use disable option using the options props. |
Only issue when using options property is that watcher is not declared on (I use TypeScript and vue-class-component) draggableOptions = {disabled: false};
@Watch('modalOpened')
onModalOpened(opened: boolean) {
let options = _.clone(this.draggableOptions);
options.disabled = opened;
this.draggableOptions = options;
} <draggable v-model="wrappers" :options="draggableOptions">
...
</draggable> |
@Toilal , Could you create a jsfidle with a similar issue? |
btw, this library still rock :) 👍 |
Hello @Toilal , thanks for the jsfiddle using deep watch solve the issue. |
Would you consider a pull request adding a disabled Prop mapping to disabled sortableJS option ?
The text was updated successfully, but these errors were encountered: