public function render($attributes = null)
 {
     $attrs = $this->element->getAttributes();
     foreach ($attrs as $key => $value) {
         $this->htmlElement->setProperty($key, $value);
     }
     if (isset($attributes)) {
         $this->htmlElement->addProperties($attributes);
     }
     $this->htmlElement->setIdentifier($this->element->getName());
     $this->htmlElement->setValue($this->element->getValue());
     return $this->htmlElement->compile();
 }