micraux
Pass parameter from RelationManager createAction to form
$formData
doesn't work either...
Setting the default to the actual value doesn't really make sense though.Yes, but how can I check if the field is populated during development? @PabloZagni : can you tell me how you can check the value of your
$data['type’]
(in your second screenshot) in your form?17 replies
Pass parameter from RelationManager createAction to form
Hello @Dennis Koch and @PabloZagni ,
Thanks for helping, very much appreciated!
What I am trying to achieve is, from a createAction on a RelationManager, passing a parameter to the resource form so that I can customize the resource form.
My idea was to hide the action_type field because I don't need to save it in the DB.
Here is an example of my code: first, I am trying to just see the value "test" in the Action Type field, then I would hide it.
I don't know if it is the best way to do it.
`
17 replies
Remove Manage Subscription from tenant menu
Yes, probably Spark... Did you create the
/billing
route by yourself?
You may want to try commenting this line in you Panel:
->tenantBillingProvider(new SparkBillingProvider());
and see if the link is still present...11 replies
Repeater Fields to TextColumn
You may have noticed that I mentioned Collection, so here:
https://laravel.com/docs/11.x/collections#method-last
20 replies
Remove Manage Subscription from tenant menu
I don't know if I am understanding right, but as you defined 2 identical menu entries (subscription), you may see the second when you hide the first, no?
Could you try just renaming your entries, like:
Manage subscription (tenant)
and Manage subscription (user)
for better understanding/debugging?11 replies