Completed
Push — master ( e21252...05650e )
by Reza
26s queued 11s
created
src/Parsers/HTMLInputs/Select.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -8,8 +8,8 @@
 block discarded – undo
8 8
     public function handle($name, $values, $action)
9 9
     {
10 10
         return "<select wire:model='$name' class=\"form-control @error('$name') is-invalid @enderror\" id='input$name'>
11
-                @foreach(getCrudConfig('$action')->inputs()['$name']['select'] as " . '$key => $value' . ")
12
-                    <option value='{{ " . '$key' . " }}'>{{ " . '$value' . " }}</option>
11
+                @foreach(getCrudConfig('$action')->inputs()['$name']['select'] as ".'$key => $value'.")
12
+                    <option value='{{ " . '$key'." }}'>{{ ".'$value'." }}</option>
13 13
                 @endforeach
14 14
             </select>";
15 15
     }
Please login to merge, or discard this patch.