Beispiel #1
0
 protected function addAttributes(\Kendo\Html\Element $element)
 {
     $element->attr('id', $this->id);
     if ($element->tagName() == 'textarea' || $element->tagName() == 'input' || $element->tagName() == 'select') {
         $element->attr('name', $this->id);
     }
     foreach ($this->attributes as $key => $value) {
         $element->attr($key, $value);
     }
 }
 protected function addAttributes(\Kendo\Html\Element $element)
 {
     foreach ($this->attributes as $key => $value) {
         $element->attr($key, $value);
     }
 }