Conditions | 1 |
Paths | 1 |
Total Lines | 13 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
11 | public function display($options = []) |
||
12 | { |
||
13 | return Admin::component('admin::grid.inline-edit.multiple-select', [ |
||
14 | 'key' => $this->getKey(), |
||
15 | 'name' => $this->getPayloadName(), |
||
16 | 'value' => json_encode($this->getValue()), |
||
17 | 'resource' => $this->getResource(), |
||
18 | 'trigger' => "ie-trigger-{$this->getClassName()}", |
||
19 | 'target' => "ie-content-{$this->getClassName()}-{$this->getKey()}", |
||
20 | 'display' => implode(';', Arr::only($options, $this->getValue())), |
||
21 | 'options' => $options, |
||
22 | ]); |
||
23 | } |
||
24 | } |
||
25 |