Baspa
What's the way to go to include custom files in vite
I'm struggling way too hard to add my custom files to the vite config. This is my current vite config:
But files like "resources/views/filament/components/xxx.blade.php" do not seem to work without adding
@vite(..)
to the top of the custom page:
I don't believe this is the way it should work. I already tried explicitly adding "./resources/views/filament/components/list.blade.php" to the config but that didn't help either.
Can someone tell me what is the actual way to go to fix this kind of stuff?9 replies
Wizard customize previous action
I want to customize the previous action when using the Filament Wizard. I would like to fire a Livewire event when the button is pressed. Using
->previousAction
to override the current action seems not possible. I guess the action is handled internally by Filament. Is is possible to know when a user pressed the 'previous' button?1 replies
`replaceMountedAction()` seems not to be available in the `modalCancelAction` is that correct?
I tried using the
replaceMountedAction()
method in the modalCancelAction
action but it doesn't do anything. Is it correct that it can't be used there? Or is there any workaround? I want to have two buttons in a modal that go to another action modal.1 replies
Unable to find component when clicking on an action
I have a custom action in a custom Filament page:
When I click on the action button it gives me the following error:
Unable to find component: [app.filament.pages.auth.login-two-factor]To me it's totally unclear where this message comes from. I never reference the mentioned view? Can someone explain to me what's actually happening? If you need more code or information I will provide it.
4 replies
The columnSpan on widgets is not working
It seems like the
columnSpan
property on the Widget class does not have any effect at all unless I'm using full
as value. For example 6/12
or 4/12
does not work and displays the widget as 1/12
.
I have this Dashboard page:
And this widget:
But the width of the widget is always set to 1/12. Unless I set it to 'full'. How should I set it properly? I can't find clear documentation on the website about this.10 replies
The `columnSpan` property is overridden in each render
On the first render it appears as a
full
columnspan. But on a second render it reverts back to 1/2 as it seems. Any idea what might causing this? I guess it has something to do with the render
method?
1 replies
How to populate multi select list with default selected values
I have this multiple select form field where I load the options and try to set the default values:
The
default
method does not seem to work. It does not show any selected options. As far as I know I should use the default
option to set the default selected values. As you can see in the image I attached the available options (up) and the default values (down) should match.9 replies
Syntax error, unexpected token ";", expecting "]"
I just did a fresh installation and get the following error when redirecting to the link:
https://secure-link.test/abc/login
The error seems to occur in vendor/filament/support/resources/views/components/modal/index.blade.php
.
This is my provider, which I included in the app.php
config:
4 replies