diff --git a/src/js/directives/bsdate.js b/src/js/directives/bsdate.js
index f1e5455a..38599b3a 100644
--- a/src/js/directives/bsdate.js
+++ b/src/js/directives/bsdate.js
@@ -17,7 +17,8 @@ angular.module('xeditable').directive('editableBsdate', ['editableDirectiveFacto
var inputDatePicker = angular.element('');
var buttonDatePicker = angular.element('');
var buttonWrapper = angular.element('');
-
+
+ inputDatePicker.attr('ng-readonly', this.attrs.eReadonly || false);
inputDatePicker.attr('datepicker-popup', this.attrs.eDatepickerPopupXEditable || 'yyyy/MM/dd' );
inputDatePicker.attr('is-open', this.attrs.eIsOpen);
inputDatePicker.attr('date-disabled', this.attrs.eDateDisabled);
@@ -56,4 +57,4 @@ angular.module('xeditable').directive('editableBsdate', ['editableDirectiveFacto
}
});
-}]);
\ No newline at end of file
+}]);