make realtion manager command, unable to find component issue
after i run the
then i add the class to the getRelations
reload the page and got this error
...
php artisan make:filament-relation-manager AppointmentResource Client first_name
php artisan make:filament-relation-manager AppointmentResource Client first_name
Unable to find component: [app.filament.resources.appointment-resource.relation-managers.client-relation-manager]
Unable to find component: [app.filament.resources.appointment-resource.relation-managers.client-relation-manager]
Solution:
ok sorry, just needed the
...
php artisan filament:clear-cached-components
php artisan filament:clear-cached-components
Insert Action Button on Custom Page
Hi everyone, is it possible to add action button on the custom page? I only able to put it on the table
Thanks...
Allow view without view_any
So I have this user with view but without view_any in their role.
I want them to be able access
```
/admin/books/1...
Issue with FileUpload Component Not Loading in Laravel Filament
Hello everyone,
I’m working on a Laravel project using Filament and facing an issue with the FileUpload component. I’m trying to implement a file upload feature that allows users to upload images, but the component is not loading as expected.
What I’m Trying to Do:...
Translate Resource and Fields
I am using the Language Switch plugin, and it translates everything automatically except the User defined stuff such as the Resources and the Fields inside. Now I know I have to make a custom file for it, but how exactly do I do it?
Visual Builder Email Template Error
Hi,
I'm using Email Template editor plugin from Visual Builder https://github.com/visualbuilder/email-templates and using postgre database, the plugin is working nicely on local server. And then I got this error on production server:
...
"SQLSTATE[42883]: Undefined function: 7 ERROR: operator does not exist: boolean = integer LINE 1: ...om "vb_email_templates_themes" where "is_default" = 1 and "v... ^ HINT: No operator matches the given name and argument types. You might need to add explicit type casts. (Connection: pgsql, SQL: select * from "vb_email_templates_themes" where "is_default" = 1 and "vb_email_templates_themes"."deleted_at" is null limit 1)"
"SQLSTATE[42883]: Undefined function: 7 ERROR: operator does not exist: boolean = integer LINE 1: ...om "vb_email_templates_themes" where "is_default" = 1 and "v... ^ HINT: No operator matches the given name and argument types. You might need to add explicit type casts. (Connection: pgsql, SQL: select * from "vb_email_templates_themes" where "is_default" = 1 and "vb_email_templates_themes"."deleted_at" is null limit 1)"
Get values from filters
Hello everyone. I have a table with some filters in it and I have a Header Action to generate the PDF. I would like to know how I get the values of the filters that I used in the search before clicking on the PDF Action? Thanks
Help with TinyMCE, duplicate the textarea
Hey guys, i need help with a configuration for use an html editor in a text area in a form please, i use a cdn for tinycme editor in the textarea but, for any reason when i use the select and add the id=mensaje, here the textarea in the form is duplicated... can understand why happen this!
any idea about my problem friends?
this a Laravel project, not use filament for the form, it's only laravel and livewire...
selector: 'textarea#mensaje',
selector: 'textarea#mensaje',
Preset attributes according to selected tab/previously created record
I have an Event resource. I display it with tabs filtered for a type, like one tab for type "A", one for type "B" etc.
When you click on Create on the top right it should prefill the new record with the type that was previously selected as tab.
I achieved this by overwriting this method:
```php...
Stop uploading file to my server when using bunny video streaming
I am using Bunny to store videos (it's something like Vimeo).
When I upload the video, it uploads first to my machine by livewire, then I handle it to be uploaded to bunny after submitting
I don't want to upload files to my machine before uploading to bunny, as they can be too large
...
ExportBulkAction
Hello.
I have a modal named Cdr, it has 90 records, I had a Table Widget that shows all those records, I added the ExportBulkAction in order to select or filter records and export them to Excel:
```php
->bulkActions([...
Solution:
Filament should use
uniqueid
then. Not sure what's the issue. But I'd guess it's not the Exporter but the BulkAction that cannot identify the records correctlyCustom FileUpload action
Hello everyone,
I have a RelationManager form which has a FileUpload input, I want to get file information same as in liverwire, so how can I do that ?
`public function form(Form $form): Form
{
return $form...
Is possible have an input can be select and text input in same time ?
Is possible have an input can be select and text input in same time
like if the data exist shows in select input, if not can be add in the text input...
PanalsRenderHook doesnt acce[t @script tag
I have created panals render hook in the header but when i want to implement js i get this error
...
Using $this when not in object context
Using $this when not in object context
Best approach to save "price" field
What is the best approach to save decimal values like price, subtotal, and total in a Laravel migration? In my app, I’m using
but since I’m using PostgreSQL, it’s not working. I’m also trying to format the values like this:...
$table->decimal('total', 10, 2);
$table->decimal('total', 10, 2);
order tenancy menu
Working on multi-tenancy (https://filamentphp.com/docs/3.x/panels/tenancy#customizing-the-tenant-menu). The tenant menu in top left is ordering by ID on the table, how can I alter this so it orders alphabetically on the title?
cluster issue
im trying to configure a cluster like the tutorial https://filamentphp.com/docs/3.x/panels/clusters
but getting this (attached image) , this is my setting and structure attached image
what im missing? thank you...
Solution:
nevermind, forgot to run migrations
Database notifications & tenancy
Anyone thought about\tried dealing with separating out database notifications for tenancy situations.
Can you have notifications only showing on the active tenant ?...
Dédicated page relation mùanager
Hello everyone,
I have a ressource list post. Some of the post can have multiple authors and other not. I would like to have a link into my action dropdown (only for the post who can have multi authors) to access to a dedicated page for the authors. I don't want that the relation manager appear in the post edit form.
Thx in advance
Fred...