public function value()
 {
     $value = InputListField::value();
     if (is_array($value)) {
         return $value;
     } else {
         return str::split($value, ',');
     }
 }
Example #2
0
 public function item($value, $text)
 {
     $item = parent::item($value, $text);
     $item->addClass('input-with-radio');
     return $item;
 }