© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•4mo ago•
6 replies
Harvey

RepeatableEntry not updating after updating Relationship

I have a basic repeater that uses the
documents
documents
relationship like so:
RepeatableEntry::make('documents')
  ->schema([
    TextEntry::make('name'),
  ])
RepeatableEntry::make('documents')
  ->schema([
    TextEntry::make('name'),
  ])


public function documents(): HasMany
{
    return $this->hasMany(Document::class);
}
public function documents(): HasMany
{
    return $this->hasMany(Document::class);
}


But when I run an action that uploads a document, adding to the documents relationship, the repeatable entry does not update.

Am I doing something wrong?
Solution
Something like:

$this->dispatch('refreshData');

// In your Livewire page class
use Livewire\Attributes\On;

#[On('refreshData')]
public function refresh(): void
{
// Livewire will automatically refresh the component
}
Jump to solution
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

RepeatableEntry relationship
FilamentFFilament / ❓┊help
2w ago
RepeatableEntry relationship
FilamentFFilament / ❓┊help
13mo ago
Filament: RepeatableEntry not showing relationship data from model
FilamentFFilament / ❓┊help
5mo ago
Eager loaded relationship not updating after component action called
FilamentFFilament / ❓┊help
6mo ago