repeater filamentphp without relationship

I want use the repeater to one table without relationship,How can I do it ?
6 Replies
awcodes
awcodes4d ago
Not following you. Sorry. Repeaters are form fields and not table components. But repeaters certainly work without relationships. The data on the field just has to be an array.
Alnuaimi
Alnuaimi4d ago
ok,brother ,Why when click add member not can repeater filed?
No description
No description
Alnuaimi
Alnuaimi4d ago
I want to collect a group of items and push them all at once into the table See
awcodes
awcodes4d ago
Did you call $this->form->fill() in the mount method?
Alnuaimi
Alnuaimi4d ago
Yes @awcodes
awcodes
awcodes4d ago
So, repeaters are just an array of arrays at the state level. Are you trying to set the state initially or via an action?