14 Replies
but not in my widget :
yet my code is identical
why ?
What is the issue exactly?
the problem is that I can create a company in the createRecord but not in my page I get this error
Can you share the code of your widget / custom form?
Can you click on the SHARE button on this screen and share the link?
I didn't understand, what do you want?
$this->record
is null.. where are you initializing this?
Did you check the $this->record->companies()
output?the widget is in a viewRecord page, I get the record this way, and when I display the variable(dd($this->record->companies()) in my mount function I get something back
In your screenshot that shows the
Call to a member function...
error, there's a SHARE button. Can you click it and share the link?https://flareapp.io/share/x7KlzxB5, thank you for your tip I did not know it
I think you're missing a connection between the model and the form... the Select doesn't know what to do with
->relationship()
Filament
Getting started - Form Builder - Filament
The elegant TALL stack form builder for Laravel artisans.