Mike Scott
SOLVED: Potential Security Issue - Filament isn't exposing model attributes. It was a false alarm.
I had a look at the Chrome network tab and don't see anything untoward. I had a feeling I was missing something and wanted to discuss it here. Thanks.
9 replies
SOLVED: Potential Security Issue - Filament isn't exposing model attributes. It was a false alarm.
I'm aware that DebugBar is a debugging tool. I've not used Livewire before and I'm unclear what the Livewire tab in DebugBar is showing. At first glance it looks like it's collecting and displaying the Livewire traffic being sent to the browser.
So I would like to be sure that what it's showing is NOT what is being sent to the browser by Filament or Livewire.
9 replies
SOLVED: Potential Security Issue - Filament isn't exposing model attributes. It was a false alarm.
Thanks. I'm aware of the security policy but I wanted to discuss it here first before raising it with Dan as I wasn't sure if there was something I was missing.
9 replies
Multi-level Hierarchical Navigation Groups
That's exactly what we've been discussing and I've been trying. Even building the navigation from scratch as it says in the docs, there's no way that I can see to add a group to a group. That's the piece I'm missing. What is the function that you call to add a group to a group?
28 replies
Multi-level Hierarchical Navigation Groups
And trying to add
NavigationGroup::make()
to Filament::registerNavigationItems()
doesn't work either, since NavigationGroup
isn't a NavigationItem
and you get:
Filament\FilamentManager::Filament{closure}(): Argument #1 ($item) must be of type Filament\Navigation\NavigationItem, Filament\Navigation\NavigationGroup given28 replies
Multi-level Hierarchical Navigation Groups
Yes, I realised it had to be done manually but I've tried it various ways in my AppServiceProvider and couldn't get it to work. I can't see how to add a group to a group. For example, I tried this but no menu appears:
28 replies
How to use a Checkbox to edit fields in a related model
Unfortunately that doesn't work, since it's a has-one relationship and the one record has many fields which need a checkbox for each field. The relationship method works only when there's a one-to-many relationship and each related record has a single value that gets a checkbox.
In my example,
feature_field
is only one of the boolean fields in the related record. It has about 20 boolean fields.6 replies