Florian Langer
Florian Langer
FFilament
Created by Florian Langer on 9/13/2024 in #❓┊help
Interact with Chart Widget
no, the plugin will not add the button. In ChartJS it's pretty common to do things like chart.someMethod() and call it via JS. That's why I'm asking how I can access this.
5 replies
FFilament
Created by Florian Langer on 9/13/2024 in #❓┊help
Interact with Chart Widget
I installed this plugin: https://www.chartjs.org/chartjs-plugin-zoom/latest/guide/ And I want to have a button that calls chart.resetZoom But it seems like, it's not that easy to access the charts in filament via JS, right?
5 replies
FFilament
Created by arul on 7/2/2024 in #❓┊help
403 forbidden when production
You're missing the use Filament\Panel; import, so that the Panel dependency injection works.
14 replies
FFilament
Created by Florian Langer on 7/2/2024 in #❓┊help
Checkboxlist: Options can't be checked separately
thank you! I missed that one.
5 replies
FFilament
Created by Florian Langer on 7/2/2024 in #❓┊help
Checkboxlist: Options can't be checked separately
somehow, when removing ->statePath('data') fixes the issue. But that can't work, because I need the form data to be present.
5 replies
FFilament
Created by Florian Langer on 7/21/2023 in #❓┊help
Route [filament.app.auth.logout] not defined.
you need to set ->domain(), then it worked for me.
36 replies
FFilament
Created by Florian Langer on 7/21/2023 in #❓┊help
Route [filament.app.auth.logout] not defined.
hm... it brings up Route [filament.app.auth.logout] not defined. again
36 replies
FFilament
Created by Florian Langer on 7/21/2023 in #❓┊help
Route [filament.app.auth.logout] not defined.
and id?
36 replies
FFilament
Created by Florian Langer on 7/21/2023 in #❓┊help
Route [filament.app.auth.logout] not defined.
you mean path should be empty string?
36 replies
FFilament
Created by Florian Langer on 7/21/2023 in #❓┊help
Route [filament.app.auth.logout] not defined.
hm... but now the JS doesn't load. It's trying to get it from "http://localhost/js/filament/support/support.js?v=3.0.0.0-beta4" but it goes to 404
36 replies
FFilament
Created by Florian Langer on 7/21/2023 in #❓┊help
Route [filament.app.auth.logout] not defined.
that works, but how should I configure it to work with / ?
36 replies
FFilament
Created by Florian Langer on 7/21/2023 in #❓┊help
Route [filament.app.auth.logout] not defined.
path is /
36 replies
FFilament
Created by Florian Langer on 7/21/2023 in #❓┊help
Route [filament.app.auth.logout] not defined.
the upgrade script set it to app
36 replies
FFilament
Created by Florian Langer on 7/21/2023 in #❓┊help
Route [filament.app.auth.logout] not defined.
36 replies
FFilament
Created by Florian Langer on 7/21/2023 in #❓┊help
Route [filament.app.auth.logout] not defined.
it's local
36 replies
FFilament
Created by Florian Langer on 7/21/2023 in #❓┊help
Route [filament.app.auth.logout] not defined.
yep
36 replies
FFilament
Created by Florian Langer on 7/13/2023 in #❓┊help
Insert value from one field to another
solved it like this now
TextInput::make('firstname')
->reactive()
->afterStateUpdated(function (Closure $set, $state, $get) {
$set('email', strtolower($state) . '.' . strtolower($get('lastname')));
})
->required(),
TextInput::make('lastname')
->reactive()
->afterStateUpdated(function (Closure $set, $state, $get) {
$set('email', strtolower($get('firstname')) . '.' . strtolower($state));
})
->required(),
TextInput::make('firstname')
->reactive()
->afterStateUpdated(function (Closure $set, $state, $get) {
$set('email', strtolower($state) . '.' . strtolower($get('lastname')));
})
->required(),
TextInput::make('lastname')
->reactive()
->afterStateUpdated(function (Closure $set, $state, $get) {
$set('email', strtolower($get('firstname')) . '.' . strtolower($state));
})
->required(),
But if theres a better way, please tell me 🙂
5 replies
FFilament
Created by Florian Langer on 7/13/2023 in #❓┊help
Insert value from one field to another
but how should this be done if there are two fields that should manipulate the email field (like in my example)?
5 replies
FFilament
Created by Florian Langer on 7/12/2023 in #❓┊help
Custom Field with Wizard
but I think that's just a hook to do something after validation but you can't really disable the next step button etc.
13 replies
FFilament
Created by Florian Langer on 7/12/2023 in #❓┊help
Custom Field with Wizard
If the user goes to step 2 (so, after he/she inserted the necessary data)
13 replies