mirror of
https://github.com/usetrmnl/byos_laravel.git
synced 2026-01-14 07:27:47 +00:00
fix: normalize key for multiple selects
This commit is contained in:
parent
40ceba267a
commit
4bb5723767
1 changed files with 4 additions and 1 deletions
|
|
@ -690,7 +690,10 @@ HTML;
|
||||||
<flux:checkbox label="{{ $label }}" value="{{ $value }}"/>
|
<flux:checkbox label="{{ $label }}" value="{{ $value }}"/>
|
||||||
@endforeach
|
@endforeach
|
||||||
@else
|
@else
|
||||||
<flux:checkbox label="{{ $option }}" value="{{ $option }}"/>
|
@php
|
||||||
|
$key = mb_strtolower(str_replace(' ', '_', $option));
|
||||||
|
@endphp
|
||||||
|
<flux:checkbox label="{{ $option }}" value="{{ $key }}"/>
|
||||||
@endif
|
@endif
|
||||||
@endforeach
|
@endforeach
|
||||||
@endif
|
@endif
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue