Unplanned
Last Updated: 03 Aug 2021 15:04 by ADMIN
Nathan
Created on: 27 Jul 2021 22:58
Category: Date/Time Pickers
Type: Feature Request
3
Expose messages for DatePicker/DateTimePicker when DateInput is enabled
The messages is available to be changed live in JS which is fine, but would be much more handy to have it exposed in the MVC wrapper at time of configuration
1 comment
ADMIN
Ivan Danchev
Posted on: 03 Aug 2021 15:04

Hello Nathan,

Placeholder messages: month/day/year appear when you set the DateInput option in the Date/Time Picker. They can be changed through JS, as you mentioned:

var dateinput = $("#datepicker").data("kendoDateInput");

dateinput.setOptions({messages: {
  "year": "y",
  "month": "m",
  "day": "d",
}})

Having the ability to set the messages through configuration in the MVC helpers would be helpful. If the community is interested in such functionality, we will consider adding such capabilities to the MVC helpers.

Don't forget to cast your vote for the Feature Request. 

Regards,
Ivan Danchev
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.