@php $registro = $registro ?? null; $val = static fn ($field, $default = '') => old($field, $registro->{$field} ?? $default); @endphp