diff --git a/js/bootstrap-datepicker.js b/js/bootstrap-datepicker.js index d04ea915f..0a86ed92a 100644 --- a/js/bootstrap-datepicker.js +++ b/js/bootstrap-datepicker.js @@ -115,7 +115,7 @@ this.element = $(element); this.isInput = this.element.is('input'); this.inputField = this.isInput ? this.element : this.element.find('input'); - this.component = this.element.hasClass('date') ? this.element.find('.add-on, .input-group-addon, .input-group-append, .input-group-prepend, .btn') : false; + this.component = this.element.hasClass('date') ? this.element.find('.add-on, .input-group-addon, .input-group-append, .input-group-prepend, .input-group-text, .btn') : false; if (this.component && this.component.length === 0){ this.component = false; }