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.
1 parent 3259819 commit 9c58d60Copy full SHA for 9c58d60
resources/views/components/button/radio.blade.php
@@ -5,6 +5,7 @@
5
'type' => 'radio',
6
'icon' => null,
7
'iconRight' => null,
8
+ 'required' => false,
9
])
10
11
@php
@@ -25,7 +26,7 @@
25
26
<x-slot:before>
27
<input type="{{ $type }}" {{ $input }}
28
class="peer/input pointer-events-none absolute left-0 top-0 size-full appearance-none opacity-0"
- @checked($checked) @disabled($disabled)>
29
+ @checked($checked) @disabled($disabled) @required($required)>
30
</x-slot:before>
31
32
@if ($icon?->hasActualContent())
0 commit comments