Unique and RelationManagers
I have a relation manager for my RecipeResource. The Relationamanager has itself a form, with a Datepicker field:
The date should be unique within the Recipe. How do I get the
recipe_id
inside the unique callback (the XXX
in the code)?
As far as I understand is $rule
the only param for the callback.2 Replies
$livewire->ownerRecord->id
Thanks. That solved it!