@php $selectedDatacenterId = old('module_datacenter_id') ?? ($model?->ipaddress?->host?->module_datacenter_id ?? ($model?->module_datacenter_id ?? null)); @endphp