@php $rulesValues = $actionRulesClass->recoverFromAction($row, 'pg:radio'); $inputAttributes = new \Illuminate\View\ComponentAttributeBag([ 'class' => $theme->radio->inputClass, ]); if (filled($rulesValues['setAttributes'])) { foreach ($rulesValues['setAttributes'] as $rulesAttributes) { $inputAttributes = $inputAttributes->merge([ $rulesAttributes['attribute'] => $rulesAttributes['value'], ]); } } @endphp @if (filled($rulesValues['hide']))