Declined
Last Updated: 07 Jan 2025 11:59 by Ivaylo
Scheduled for 2025 Q1 (Feb)
Kaya
Created on: 01 Oct 2024 21:31
Category: DateTimePickers
Type: Feature Request
1
DatePicker Taghelper enable attribute

This just seems like a minor oversight since the Enable(bool) method exists on the DatePicker html helper and other Kendo taghelpers support the enable or enabled attribute, but there doesn't seem to be an enable-like attribute for the kendo-datepicker. Thanks!

<kendo-datepicker for="ReadOnlyDate" enable="false"></kendo-datepicker>

1 comment
Ivaylo
Posted on: 07 Jan 2025 11:59
The TagHelpers do not require this configuration. Clients can apply the disabled attribute as they would in Kendo. The HTML Helpers include the .Enable configuration because they do not have direct access to the markup, thereby eliminating the need for developers to explicitly write .HtmlAttributes(new { disabled = "disabled" }).