Currently, when you have a disabled DatePicker in MVVM scenario and the setOptions method is called, the component gets enabled. Dojo - https://dojo.telerik.com/OBMifPCW
The widget does not provide a configuration option that allows setting the enable state. The component can be improved by adding an enabled configuration option, and also by avoiding enabling the component after the setOptions method is used.
Hello,
Since this behavior is also discussed in the related GitHub item, I’m including the relevant comments below, where the issue is explained in detail, so other users on the portal can also be informed:
- https://github.com/telerik/kendo-ui-core/issues/8251#issuecomment-2976921097
- https://github.com/telerik/kendo-ui-core/issues/8251#issuecomment-2979479014
Regards,
Neli
Progress Telerik
Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.
https://github.com/telerik/kendo-ui-core/issues/8251
Per comments on GitHub, it looks like the developers don't intend to fix this issue and suggest that the workaround to manually set the enable value again in the setOptions call is sufficient.
I just want to say that this is NOT acceptable. We are a very small IT shop and have over 100 forms that will have to be fixed and re-tested. This is definitely a regression issue with the new version of Kendo UI for jQuery and I strongly suggest that it should be fixed.
Thank you.
Deepak Gupta