1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/actionview/lib
Raghu Kamat 5edbc1fd20 Added maxlength example to text_field documentation
The usage of maxlength in the text_field helper adds a size attribute
to the generated text_field input with the same value as the maxlength.
This implicit addition of size attribute by the method gives a false
impression that it may be bug. By adding the implementation of the
maxlength to the api docs, we explicitly tell the reader referring the
api doc that addition of size along with maxlength is the expected behaviour.

[ci skip]
2018-10-25 16:00:59 -04:00
..
action_view Added maxlength example to text_field documentation 2018-10-25 16:00:59 -04:00
action_view.rb Bump license years for 2018 2017-12-31 22:36:55 +09:00