I have the following code in my HTML template
<div class="form-group col-xs-6">
<label for="txtDiscountFrom">Available From</label>
<input class="form-control k-input-lg" data-role="datepicker"
name="txtDiscountFrom" id="txtDiscountFrom" placeholder="Enter From Date"
data-required-msg="Enter From Date"/>
As you can see I have bound editorModel.enabled to the enabled property. I have other INPUT fields on this form (not shown) which are also bound to this field and they are enabled/disabled correctly. However, the 2 datePicker fields I have seem to ignore this property. They always stay enabled. Does DatePicker not support the enabled property?
Interestingly enough if I remove the data-role="datepicker" from the above HTML the enabled binding works! Is there something specific on datepicker that I should be doing instead?
I am running Kendo 2019.1.115