0332313300
Validators complain that SimpleForm's numeric elements have a `size` attribute. According to the [spec][1], `input` elements with a `type` of `number` must not specify a `size`. This change removes the `size` option, and updates an existing unit test to guard against regressions. Users may still provide a `size` option manually, though it may produce invalid markup in certain situations. [1]: http://www.whatwg.org/specs/web-apps/current-work/multipage/number-state.html#number-state |
||
---|---|---|
.. | ||
action_view_extensions | ||
components | ||
support | ||
discovery_inputs.rb | ||
error_notification_test.rb | ||
form_builder_test.rb | ||
inputs_test.rb | ||
simple_form_test.rb | ||
test_helper.rb |