public function __construct($config = []) { // max_length=254 to be compliant with RFCs 3696 and 5321 $config['maxLength'] = ArrayHelper::getValue($config, 'maxLength', 254); parent::__construct($config); }