neerajk
Textarea not showing content and having JS errors
I have Textarea component in a form, when the page loads, the content of Textarea shows a split second and then Textarea is empty. If I type in anything its there and saving it works and I can see the data in db but when I load the form again the Textarea is empty.
This is not happening on my local machine but only on server. Attached is the screenshot of the error I am seeing in browser console on form load.
Forms\Components\Textarea::make('my_template'),
Laravel v11 + Filament v37 replies
Getting event after record creation (afterCreate not working here)
I have 2 tables
contacts
and contacts_profile
. I have a form to create a contact (and also fill in contact profile fields as well in that same form).
I want to perform something after contact creation.
I added afterCreate
in ContactCreate.php
but problem is that afterCreate
gets called before record get saved in contacts_profile
.
Is there any event/hook/anything which I can use to perform something after a resource's all data (including relationship tables) get saved?4 replies
Can we modify SpatieTags to prevent dynamically adding new tags?
This is about SpatieTags plugin (https://filamentphp.com/plugins/filament-spatie-tags)
I have created a separate resource to add/edit/delete tags and will give rights to add/edit/delete tags to certain users only. All other users can just use the tag but not add new one dynamically.
6 replies