Product Bundles
DevCraft
All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:
Web
Mobile
Document Management
Desktop
Reporting
Testing & Mocking
CMS
UI/UX Tools
Debugging
Free Tools
Support and Learning
Productivity and Design Tools
Hello,
I'm attempting to create a masked datepicker using AngularJS.
I tried something like this, but it's not working :
<
input
kendo-date-picker
k-mask
=
"00/00/0000"
k-options
"{format: 'dd/MM/yyyy'}"
ng-model
"vm.Filters.ToDate"
/>
Do you have a dojo of the solution ?
Thank you.
Found a solution/workaround :
JavaScript :
mainApp.directive('maskedDatePicker', [function () {
return {
link: function (scope, elem, attrs) {
$(elem).kendoMaskedTextBox({
mask: "00/00/0000"
});
$(elem).removeClass("k-textbox");
}
}]);
html :
masked-date-picker