From 4bb5723767456f9593f6cd8ddc75bc1f506fe2ed Mon Sep 17 00:00:00 2001 From: Benjamin Nussbaum Date: Tue, 2 Sep 2025 15:15:28 +0200 Subject: [PATCH] fix: normalize key for multiple selects --- resources/views/livewire/plugins/recipe.blade.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/resources/views/livewire/plugins/recipe.blade.php b/resources/views/livewire/plugins/recipe.blade.php index 2bcf519..3a8e7cc 100644 --- a/resources/views/livewire/plugins/recipe.blade.php +++ b/resources/views/livewire/plugins/recipe.blade.php @@ -690,7 +690,10 @@ HTML; @endforeach @else - + @php + $key = mb_strtolower(str_replace(' ', '_', $option)); + @endphp + @endif @endforeach @endif