Repeater::simple does not exist
I am using a repeater with the simple method, but I get this error:
>Method Filament\Forms\Components\Repeater::simple does not exist.
I also take this opportunity to ask, I currently have data within a saved sql column, each element is separated by |:
How should I convert it to fit filamentphp? I need to create an example pivot column:
could it work? In the case, how do I "populate" the textinputs?
6 Replies
what's your filament version?
"filament/filament": "3.0-stable",
That's not version
I'm asking the full installed version
Ok I removed the -stable from the composer, updated and now it works. I am now at v3.0.63
Instead on how to solve my other problems, am I taking the correct path? I need to work on an already populated database, and I need to convert it following the conventions of Filamentphp
If this is legacy data and you don't have to keep the same format moving girward, then best write a little script to recreate the data in separate tables and adding the pivots. I usually write that kind of thing as a little artisan command.
I created a script and converted everything to a pivot table, so it is also neater, however how do I call the fields in a TextInput in repater? If I click edit, the fields do not load, the relationship property seems not to exist for TextInput
I am using this relationship: