Conditions | 2 |
Paths | 2 |
Total Lines | 9 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 1 | Features | 0 |
1 | <?php declare(strict_types=1); |
||
27 | public function editable($value, Field $field, HTMLNode $previous): HTMLNode |
||
28 | { |
||
29 | foreach ($previous->get('select') as $input) { |
||
30 | $input->addAttribute('class', 'custom-select'); |
||
31 | } |
||
32 | |||
33 | $previous = $this->bootstrapify($value, $field, $previous, 'select'); |
||
34 | $previous = $this->bootstrapify($value, $field, $previous, 'input'); |
||
35 | return $this->wrapper($value, $field, $previous); |
||
36 | } |
||
38 |