Forms\Components\Repeater::make('addresses')->relationship('addresses')
i am using the relationship in the repeater , but i am not getting that repeater data inside the handleRecordCreation(array $data) $data variable. How to get that data without removing the ->relationship.
2 Replies
what are you trying to do?
->dehyrated(true)
If you want to disable automatically saving the relationships
->saveRelationshipsUsing(null)
No i want automatically saving the relationships , here while creating i am using handleRecordCreation, in there i am not create the data there, i will send this data through session. i have a confirmation page in here i will access the session data and create here. for edit it will be normal resource work here we want relationship.
its working , Thanks