soulim / ember-cli-bootstrap-datepicker

Datepicker component for Ember CLI
http://sul.im/ember-cli-bootstrap-datepicker
MIT License
67 stars 57 forks source link

Cannot set property [] of [object Array] which has only a getter #117

Open ghost opened 5 years ago

ghost commented 5 years ago

"Cannot set property [] of [object Array] which has only a getter" error if "ember-source": "~3.6.0" in devDependencies

jquery.js:286 Uncaught TypeError: Cannot set property [] of [object Array] which has only a getter
    at Function.jQuery.extend.jQuery.fn.extend (jquery.js:286)
    at Object.formatDate (bootstrap-datepicker.js:1927)
    at Datepicker.fill (bootstrap-datepicker.js:971)
    at Datepicker.update (bootstrap-datepicker.js:809)
    at new Datepicker (bootstrap-datepicker.js:153)
    at HTMLInputElement.<anonymous> (bootstrap-datepicker.js:1649)
    at Function.each (jquery.js:354)
    at jQuery.fn.init.each (jquery.js:189)
    at jQuery.fn.init.datepickerPlugin [as datepicker] (bootstrap-datepicker.js:1631)
    at Class.setupBootstrapDatepicker (datepicker-support.js:22)