File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 1
- @foreach ($filter -> options () as $k => $value )
1
+ @foreach ($filter -> options () as $optionKey => $value )
2
2
<div class =" form-check" >
3
3
<input
4
4
class =" form-check-input"
5
5
onclick =" event.stopPropagation();"
6
6
type =" checkbox"
7
7
id =" filter-{{ $key } } -{{ $loop -> index } }"
8
8
wire:model =" filters.{{ $key } } .{{ $loop -> index } }"
9
- value =" {{ $k } }"
9
+ value =" {{ $optionKey } }"
10
10
>
11
11
<label class =" form-check-label" for =" filter-{{ $key } } -{{ $loop -> index } }" >{{ $value } } </label >
12
12
</div >
Original file line number Diff line number Diff line change 1
- @foreach ($filter -> options () as $k => $value )
1
+ @foreach ($filter -> options () as $optionKey => $value )
2
2
<div class =" form-check" >
3
3
<input
4
4
onclick =" event.stopPropagation();"
5
5
type =" checkbox"
6
6
id =" filter-{{ $key } } -{{ $loop -> index } }"
7
7
wire:model =" filters.{{ $key } } .{{ $loop -> index } }"
8
- value =" {{ $k } }"
8
+ value =" {{ $optionKey } }"
9
9
>
10
10
<label class =" form-check-label" for =" filter-{{ $key } } -{{ $loop -> index } }" >{{ $value } } </label >
11
11
</div >
Original file line number Diff line number Diff line change 12
12
{{-- @endforeach--}}
13
13
{{-- </select>--}}
14
14
15
- @foreach ($filter -> options () as $k => $value )
15
+ @foreach ($filter -> options () as $optionKey => $value )
16
16
<input
17
17
type =" checkbox"
18
18
id =" filter-{{ $key } } -{{ $loop -> index } }"
19
19
wire:key =" filter-{{ $key } } -{{ $loop -> index } }"
20
20
wire:model.stop =" filters.{{ $key } } .{{ $loop -> index } }"
21
- value =" {{ $k } }"
21
+ value =" {{ $optionKey } }"
22
22
>
23
23
<label for =" filter-{{ $key } } -{{ $loop -> index } }" >{{ $value } } </label >
24
24
<br >
You can’t perform that action at this time.
0 commit comments