repeater filamentphp without relationship
I want use the repeater to one table without relationship,How can I do it ?
6 Replies
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.
ok,brother ,Why when click add member not can repeater filed?
I want to collect a group of items and push them all at once into the table
See
Did you call
$this->form->fill()
in the mount method?Yes @awcodes
So, repeaters are just an array of arrays at the state level. Are you trying to set the state initially or via an action?