Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Mark size as inapplicable instead of invalid for numeric inputs

  • Loading branch information...
commit 4543f447e9b6778052a2a5b203f2a079c3532915 1 parent f3928a6
@haines haines authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/formtastic/inputs/base/numeric.rb
View
2  lib/formtastic/inputs/base/numeric.rb
@@ -5,7 +5,7 @@ module Numeric
def input_html_options
defaults = super
- # override rails default size - not valid on numeric inputs
+ # override rails default size - does not apply to numeric inputs
#@todo document/spec
defaults[:size] = nil
Please sign in to comment.
Something went wrong with that request. Please try again.