diff --git a/js/angular-material-datetimepicker.js b/js/angular-material-datetimepicker.js
index 018ebb6..c5b7196 100644
--- a/js/angular-material-datetimepicker.js
+++ b/js/angular-material-datetimepicker.js
@@ -117,6 +117,7 @@
clickOutsideToClose: false,
minuteSteps: 5,
showIcon: false,
+ showClear: true,
template: template,
templateUrl: '',
targetEvent: null,
@@ -169,6 +170,7 @@
clickOutsideToClose: '=',
minuteSteps: '=',
showIcon: '=',
+ showClear: '=',
templateUrl: '@',
dayOfWeekLen: '=',
hasBackdrop: '='
@@ -296,7 +298,7 @@
'ng-click="openCalendarDiag($event)">' +
'' +
'',
- clearButton = '✕';
+ clearButton = scope.showClear === undefined || scope.showClear ? '✕' : '';
element.after($compile(calendarButton + clearButton)(scope));
scope.openCalendarDiag = function(e) {