Xavi
Not view first record of table
Is it possible to make the first record in a table shows, but when you click on it, a modal appears saying that you do not have permission to access that record? It would only be with the first one, the rest should work normally.
The purpose is that only premium users can access the first register
Thanks!
6 replies
Two list sfor one resource
I have two lists for a single resource: UserInvoiceResource, which includes ListUserInvoice and ListProforma (both using the same '$model'). I've tried adding them as NavigationItems, but the active button on the sidebar isn't working as expected. Does anyone know how to fix this?"
Thanks
5 replies
Create Page Policy with new parameter
I have a create page for PostResource and i have a parameter media on url ('create' => Pages\CreatePost::route('/create/{media}'), and i get it on page with
I want to check if $media status its active to allow users to create a post on this media. How can i get this on Post Policy?
Thanks!
2 replies
Verify email before check subscription
I created a middleware to check if a user's subscription (Cashier) is active. However, I have a problem: the subscription check is performed before the email verification check. How can I solve this?
Thanks!
2 replies
Header Action Button doesn't show on production on custom panel plugin
Hello.
I create my first laravel plugin and first for filament 😉
Its aplugin to show laravel logs. Its a first first version of plugin. It works fine at this moment, but i have a problem and i don't know how to fix. I add a header action for a table (it's in page). In local dev the action button its showed, but on production its not be showed.
This is url from plugin https://github.com/xavicabot/filament-log-viewer
Any one can install and help me?
Thank you so much!
2 replies
Two list records for same resource active nav
Hi,
I have two list pages for the same resource: "List Invoices" and "List Proforma." Both pages function correctly, except for the active sidebar option. When I click on the "List Invoices" option, the sidebar correctly highlights it as active. However, when I click on the "List Proforma" option, the sidebar still incorrectly highlights the "List Invoices" option. How can I resolve this issue?
2 replies
TextInput Autocomplete doesn't works
I have a TextInput field where I need to disable autocomplete. I added ->autocomplete(false), but it doesn’t work in production; the field is still populated when editing a record. Is it possible to have the field fill as empty if it’s null (without using the browser’s autocomplete capability)?
3 replies
Polling step wizard
I'm making a wizard to connect to Google Analytics, and the first step contains the connect button. The authorization screen to obtain the analytics accounts opens, and what I want is that when I close this screen, I want to automatically go to step 2, which is a select to select which analytics account will be used, and for this I have thought about the first step having a poll. Is this possible?
I attach steps image, and this is the code
Thanks!
2 replies