select didn't return id
Hi everyone,
I have a problem : my select didn't return any id ;
and this is my return (image)
Thanks
12 Replies
is it a custom page?
nop it's in my Product Resource.php, in a Grid
after updated my code :
i have the same error
same if i remove the [] :
where is the
dd(..)
?in my model, in the function create()
https://filamentphp.com/docs/3.x/panels/resources/creating-records#lifecycle-hooks
try
beforeCreate
hook in the CreatePage to check the form values:
wtf now he disappeared
take another look at your code..
and in my ProductResource/pages/createProduct.php i put the
Did you try without
{$value}
?i need to generate x select depends of a variable
that why i use {$value]
but i will try