Ejemplo n.º 1
0
 /**
  * Resolve input value in case it is numeric and less than zero for id attribute
  * @param array $htmlOptions
  */
 protected function resolveEditableHtmlOptionsInputValue(&$htmlOptions)
 {
     if ($this->attribute == 'id' && ZurmoHtml::resolveValue($this->model, $this->attribute) < 0) {
         $htmlOptions['value'] = '';
     }
 }