Hi - I'm using Kendo Date Picker and Date Time Picker with Date Input True, also i have update message of date input to change how place holder should display. Her the problem is date format placeholders are displayed even though there is no date set or component is empty. Is there any solution so that place holder gets displayed only when the component is focused?
My Code as below.
$field.kendoDateTimePicker({
dateInput: true,
format: "MM-dd-yyyy hh:mm tt",
parseFormats: "yyyy-MM-dd-HH.mm.ss",
min: new Date(1700, 0, 1)
}).data('kendoDateTimePicker')._dateInput.setOptions({
messages: {
"month": "__",
"day": "__",
"year": "____",
"hour": "__",
"minute": "__",
"dayperiod": "__"
}
});
$field.kendoDatePicker({
dateInput: true,
format: "MM-dd-yyyy",
min: new Date(1700, 0, 1)
}).data('kendoDatePicker')._dateInput.setOptions({
messages: {
month: "__",
year: "____",
day: "__"
}
});