FFilament•Created by Haggai on 6/21/2023 in #❓┊help HasOne Relationship on repeater not using the default data
@pboivin, Thanks for the direction.
The following worked perfectly:
->afterStateHydrated(function ($component, $state, Model $record) {
if (! filled($state)) {
$component->state([$record->relation->getAttributes()]);
}
})