/**
  * @param array $properties
  * @return string
  */
 public function Field($properties = array())
 {
     $options = array();
     // Add all options
     foreach ($this->getSourceEmpty() as $value => $title) {
         $options[] = $this->getFieldOption($value, $title);
     }
     $properties = array_merge($properties, array('Options' => new ArrayList($options)));
     return parent::Field($properties);
 }
 public function getAttributes()
 {
     $attributes = parent::getAttributes();
     unset($attributes['name']);
     unset($attributes['required']);
     unset($attributes['role']);
     return $attributes;
 }