Skip to content

Commit 745fff6

Browse files
committed
Non-inline radio field does not include 'crud::inc.field_attributes' bugfix for #2452.
1 parent 57b4168 commit 745fff6

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/resources/views/crud/fields/radio.blade.php

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,13 @@ class="form-check-input"
3838
@else
3939

4040
<div class="form-check">
41-
<input class="form-check-input" type="radio" id="{{$field['name']}}_{{$optionPointer}}" name="{{$field['name']}}" value="{{$value}}" {{$optionValue == $value ? ' checked': ''}}>
41+
<input type="radio"
42+
class="form-check-input"
43+
id="{{$field['name']}}_{{$optionPointer}}"
44+
name="{{$field['name']}}"
45+
value="{{$value}}"
46+
@include('crud::inc.field_attributes')
47+
{{$optionValue == $value ? ' checked': ''}}>
4248
<label class="form-check-label font-weight-normal" for="{{$field['name']}}_{{$optionPointer}}">{!! $label !!}</label>
4349
</div>
4450

0 commit comments

Comments
 (0)