Old font awesome icons are used in calendar picker
mlt opened this issue · comments
font-awesome-rails gem pulls newer version than https://github.com/werein/x-editable-rails/blob/master/vendor/assets/javascripts/editable/bootstrap-editable.js#L6110-L6112 expects. We got to replace icon-arrow-left
with fa fa-arrow-left
or alike. I'm not sure if that is the way to go in the light of fas
vs fa
in newer font awesome (v5).
For those looking for a quick workaround here is one ugly fix and another, or, alternatively,
$.fn.datepicker.DPGlobal.template = $.fn.datepicker.DPGlobal.template.replace(/icon-/g, "fa fa-");