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