activeadmin-plugins / active_admin_datetimepicker

:calendar: active_admin_datetimepicker gem
MIT License
73 stars 47 forks source link

input_html isn't work #43

Closed dengzhichao closed 10 months ago

dengzhichao commented 6 years ago

this input_html not work f.input :expire_after, :as => :date_time_picker, :input_html => { :style => 'width: 100%', autocomplete: "off" }

ronnierios commented 6 years ago

How did you set it up with the default behaviour? Greetings!

workgena commented 10 months ago

Provided example works fine on latest v1.1.0 version.

"width: 100%" will look ugly and is not recommended for ActiveAdmin forms, unless you have custom styled form.

Please, make sure you follow steps in "Installation" section of README.