8000 Compatibility information of activeadmin_addons of 1.8.2 · Issue #360 · platanus/activeadmin_addons · GitHub
[go: up one dir, main page]

Skip to content
Compatibility information of activeadmin_addons of 1.8.2 #360
@ryu-sato

Description

@ryu-sato

Version 1.8.2 of activeadmin_addons requires activeadmin 2.5.0 or higher.
This is the compatibility information.

If you use a version of activeadmin lower than 2.5.0, you will get an error because the number of arguments in the input_html_options method does not match.
Probably activeadmin/activeadmin#5867 is caused.

wrong number of arguments (given 2, expected 0)
----
class DateRangeInput < ActiveAdmin::Inputs::Filters::DateRangeInput
  def input_html_options
    super.except(:maxlength, :size).merge({ autocomplete: 'off' })
  end
end

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0