harps
Query scoping
Thanks @Brian Kidd, I'll I look further into that and let you know. I have tried multiple ways to try and constrain the model but I'm either doing it wrong or Filament is doing it's own thing to allow the dot notation when accessing fields.
6 replies
Where to override isActiveWhen()
The page is registered in the resource with
getPages();
the page extends ListRecords
but there is no getNavigationItems
in that class. The getNavigationItems
function is in the page class which ListRecords
extends. Copying the function from the page class into my page class doesn't seem to do anything.4 replies
Tailwind colors in color()
So when I set the
'pressure' => Color::Yellow,
that is an array of RGB values but then it's not possible to select which one to use when using the ->color('material')
function on an infolist? How does it know which is the default for yellow? I can manually set the RGB value similar to @wyChoong suggests but I'm just trying to understand how it works 🙂7 replies
Inliine infolist entries
Hi @awcodes the first entry I have is a custom entry, I've just been outputting raw values.
I was wondering if there was a way to not have the entry components not wrapped divs with grid classes but I guess not.
I'll just output them manually. 👍
5 replies
Changing password error "Email already exists"
I have got so far with extending the user profile page but I get a livewire error.
Unable to find component: [app.filament.auth.pages.edit-profile]
My code looks like this (Basically the basic page for testing)
The form loads but if you click save I get the error
13 replies