repeater filamentphp without relationship

I want use the repeater to one table without relationship,How can I do it ?
6 Replies
awcodes
awcodes6mo 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
AlnuaimiOP6mo ago
ok,brother ,Why when click add member not can repeater filed?
No description
No description
Alnuaimi
AlnuaimiOP6mo ago
I want to collect a group of items and push them all at once into the table See
awcodes
awcodes6mo ago
Did you call $this->form->fill() in the mount method?
Alnuaimi
AlnuaimiOP6mo ago
Yes @awcodes
awcodes
awcodes6mo 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?
Want results from more Discord servers?
Add your server