@php $countries = \App\Models\Country::with('flag')->where('status', 1)->orderBy('name')->get(); $default_country = count($countries) > 0 ? $countries->where('id', $country_id)->first() : null; @endphp
{{ $errors->first($name) }}