protected function setStatusList()
 {
     parent::setStatusList();
     static::$statusList = array_replace(['' => '--- Status ---'], static::$statusList->toArray());
 }
Exemplo n.º 2
0
 /**
  * Run old only IF this is the form that was submitted
  *
  * @param  string $name
  *
  * @return mixed
  */
 public function old($name)
 {
     if ($this->isOld()) {
         return parent::old($name);
     }
 }