Skip to content
This repository was archived by the owner on Mar 18, 2025. It is now read-only.

Commit 0e9be2a

Browse files
committed
Always render value if it is set
1 parent e60a8e4 commit 0e9be2a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

resources/views/components/choice/checkbox-or-radio.blade.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
@endif
1818
{!! $ariaDescribedBy() !!}
1919
{{ $extraAttributes ?? '' }}
20-
@if ($value && ! $hasBoundModel()) value="{{ $value }}" @endif
20+
@if ($value) value="{{ $value }}" @endif
2121
@checked($checked && ! $hasBoundModel())
2222
/>
2323
</div>

0 commit comments

Comments
 (0)