TrevorS / bootstrap3-datetimepicker-rails

This gem packages the bootstrap-datetimepicker for the Rails 3.1+ asset pipeline.
MIT License
292 stars 123 forks source link

ignoreReadonly Attribute #37

Closed kayla-glick closed 8 years ago

kayla-glick commented 8 years ago

I had done some work in my own repository which required the use of the ignoreReadonly attribute. The changes I made were done on February 4th according to my logs. This included adding the readonly="readonly" attributes to my input elements, then using the ignoreReadonly: true attribute on my datetimepicker initialization to prevent users from editing the text fields, but opening the picker when they click the field. Like I said, this worked before, but now with no new commits to the branch, the ignoreReadonly attribute is causing my Coffeescript to break. If I remove the attribute from my datepicker initializers, the Coffeescript runs correctly. Any ideas what may have changed?