In a form I have a cycle that generates 3 radiobuttons and assigns the Id and the name they have in the database
@foreach($type as $t)
<div class="custom-control custom-radio">
{{Form::radio('incapacityType',$t->id)}}
{{Form::label('incapacityType',$t->name)}}
</div>
@endforeach
To edit a record how can I mark a radio button according to the corresponding value in the database Example. If in the record the 1st radiobutton (value = 1) was selected when editing that record, you must select that same radio button