We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4e2370a + 0a690d1 commit 052f6a9Copy full SHA for 052f6a9
src/View/Components/Radio.php
@@ -37,7 +37,7 @@ public function render(): View|Closure|string
37
@foreach ($options as $option)
38
<input
39
type="radio"
40
- name="{{ $name }}"
+ name="{{ $name() }}"
41
value="{{ $option->$optionValue }}"
42
aria-label="{{ $option->$optionLabel }}"
43
{{ $attributes->whereStartsWith('wire:model') }}
@@ -46,7 +46,7 @@ public function render(): View|Closure|string
46
@endforeach
47
</div>
48
49
- @error($name)
+ @error($name())
50
<div class="text-red-500 label-text-alt pl-1">{{ $message }}</div>
51
@enderror
52
0 commit comments