File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed
src/resources/views/crud/fields Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ All Notable changes to `Backpack CRUD` will be documented in this file.
1212
1313### Fixed
1414- merged #2450 - video field now has customizable youtube api key;
15+ - merged #2453 - radio field can have attributes even if inline;
1516
1617
1718## 4.0.40 - 2020-02-10
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments