yiisoft/yii — pull request #3552 by igorsantos07 (2014-09-25 19:36:46+00:00)
Title: Adds maxlength to input with "length is" validator

Using `CStringValidator::$max` would yield an input field with `maxlength` attribute, but using `$is` would not - this also blocks the maximum size of an input, so it was added there as well.