activeadmin-plugins / active_admin_datetimepicker

:calendar: active_admin_datetimepicker gem
MIT License
72 stars 48 forks source link

Add support of Formtastic::String input_html #53

Closed workgena closed 5 years ago

workgena commented 5 years ago

[refs #52]

@mantoszew found the bug with range-input:

This commit aims to fix it. And also add support of other input_html options to the "f.input date_time_picker".

For example:

form do |f|
  f.input :created_at, as: :date_time_picker, input_html: { placeholder: 'Text here...' }
end
coveralls commented 5 years ago

Coverage Status

Coverage increased (+0.05%) to 94.982% when pulling e522459db1162b90d4665a8b6f5b00b5a3705428 on workgena:improve_input_html_options into 36e27f641938647299b94aa3b68c8c07b707c037 on activeadmin-plugins:master.

coveralls commented 5 years ago

Coverage Status

Coverage increased (+0.05%) to 94.982% when pulling e522459db1162b90d4665a8b6f5b00b5a3705428 on workgena:improve_input_html_options into 36e27f641938647299b94aa3b68c8c07b707c037 on activeadmin-plugins:master.

Cusp2356 commented 5 years ago

Please see #54