© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•2y ago•
30 replies
Nazgul

Repeater datas not showing on edit

Hey, i'm trying to setup a repeater inside a form (Patient), when i save the form, all datas are created in database even the relationship datas. But when i try to edit the patient, the reapeater datas are not showing. What am i doing wrong?
Inside Patient model :

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


Inside PatientData model:

public function patient(): BelongsTo
    {
        return $this->belongsTo(Patient::class);
    }
public function patient(): BelongsTo
    {
        return $this->belongsTo(Patient::class);
    }


Inside PatientResource:

Fieldset::make()
                    ->schema([
                        Repeater::make('patientDatas')
                            ->relationship()
Fieldset::make()
                    ->schema([
                        Repeater::make('patientDatas')
                            ->relationship()
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

Simple repeater values not showing on edit
FilamentFFilament / ❓┊help
3y ago
Repeater on edit page
FilamentFFilament / ❓┊help
3y ago
Repeater Error on Edit
FilamentFFilament / ❓┊help
3y ago
Image not showing on Edit Page
FilamentFFilament / ❓┊help
2y ago