[VUE 3] Toggle dependencies from scheduler instance
Posted: Fri Aug 02, 2024 4:45 pm
by harriskmt
Hello,
I'm trying to offer the user the ability to turn dependencies on or off on demand. However, I'm having a hard time achieving this from the scheduler component instance. I've used the Task editor customization Vue 3 + Vite 4 example and have zipped the changed files below. I would appreciate any help you can provide.
Re: [VUE 3] Toggle dependencies from scheduler instance
Posted: Fri Aug 02, 2024 5:45 pm
by marcio
Hey harriskmt,
Thanks for reaching out and welcome to our forums.
Re: [VUE 3] Toggle dependencies from scheduler instance
Posted: Mon Aug 05, 2024 8:40 am
by harriskmt
Hello,
Apologies for the late reply. I tried your method, but it didn't work and threw the following error:
Uncaught (in promise) TypeError: can't assign to property "disabled" on false: not an object.
I tested it with the example you provided, and it works fine, but that example is in plain JavaScript. Could you please provide a working Vue example so I can see what I might be doing wrong?
Re: [VUE 3] Toggle dependencies from scheduler instance
Posted: Mon Aug 05, 2024 11:30 am
by ghulam.ghous
Hi there,
I have compiled an example in vue-3 + vite. Please check here: