Example #1
0
 /**
  * Render the filter value
  */
 public function renderValue()
 {
     if (!$this->value) {
         return '';
     }
     if ($this->options instanceof \Illuminate\Support\Collection) {
         $this->options = $this->options->toArray();
         $this->value = array_only($this->options, $this->value);
     }
     $value = is_array($this->value) ? implode(', ', $this->value) : $this->value;
     return \Html::filterValue($this->label, $value);
 }