We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cb84c41 commit d944ba7Copy full SHA for d944ba7
lib/activeadmin_addons/support/input_base.rb
@@ -16,7 +16,10 @@ def to_html
16
end
17
18
def input_html_options
19
- super.merge(control_attributes)
+ # maxwidth and size are added by Formtastic::Inputs::StringInput
20
+ # but according to the HTML standard these are not valid attributes
21
+ # on the inputs provided by this module
22
+ super.except(:maxlength, :size).merge(control_attributes)
23
24
25
def parts_to_html
0 commit comments