{{-- If this is a relationship and the method does not exist, show a warning message --}} @if(isset($options->relationship) && !method_exists( $dataType->model_name, \Illuminate\Support\Str::camel($row->field) ) )

{{ __('voyager::form.field_select_dd_relationship', ['method' => \Illuminate\Support\Str::camel($row->field).'()', 'class' => $dataType->model_name]) }}

@endif @php $dataTypeContent->{$row->field} = json_decode($dataTypeContent->{$row->field}) @endphp