Repeater Not Working

I have two repeater on a resource page. However, one of the repeater is not working neither am I able to add item or delete it while the another one works perfectly fine.
Solution:
update Filament and try again
Jump to solution
8 Replies
LeandroFerreira
LeandroFerreira11mo ago
share the code please
Oumuamua
OumuamuaOP11mo ago
Section::make('qualifications')
->schema([
Repeater::make('qualifications')
->relationship()
->schema([
TextInput::make('level'),
TextInput::make('title'),
TextInput::make('institute'),
TextInput::make('completion_year'),
TextInput::make('result'),
])
->hiddenLabel()
->columns(2)
]),
Section::make('work_experiences')
->schema([
Repeater::make('work_experiences')
->relationship()
->schema([
TextInput::make('title'),
TextInput::make('company'),
TextInput::make('start_date'),
TextInput::make('end_date'),
])
->hiddenLabel()
->columns(2)
])
Section::make('qualifications')
->schema([
Repeater::make('qualifications')
->relationship()
->schema([
TextInput::make('level'),
TextInput::make('title'),
TextInput::make('institute'),
TextInput::make('completion_year'),
TextInput::make('result'),
])
->hiddenLabel()
->columns(2)
]),
Section::make('work_experiences')
->schema([
Repeater::make('work_experiences')
->relationship()
->schema([
TextInput::make('title'),
TextInput::make('company'),
TextInput::make('start_date'),
TextInput::make('end_date'),
])
->hiddenLabel()
->columns(2)
])
The qualifications repeater is not working while the work experience one is working properly
LeandroFerreira
LeandroFerreira11mo ago
It should work if your relationships are working
Oumuamua
OumuamuaOP11mo ago
Relationship is working fine even it is fetching entries as you can see in the video I posted, only add and delete buttons are not working that too for only one repeater which is kind of weird.
LeandroFerreira
LeandroFerreira11mo ago
console errors? Filament version 3.?.?
Oumuamua
OumuamuaOP11mo ago
No errors in console Using V 3.1.0
Solution
LeandroFerreira
LeandroFerreira11mo ago
update Filament and try again
Oumuamua
OumuamuaOP11mo ago
The update solved the issue. It is working fine now. Thanks!
Want results from more Discord servers?
Add your server