Notice: Undefined index: #type in Drupal\clientside_validation\Plugin\CvValidator\MaxLength->getRules()