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 |
||
---|---|---|
.. | ||
generators/simple_form | ||
simple_form | ||
simple_form.rb |