Atreides
Atreides
FFilament
Created by jaap4677 on 7/6/2023 in #❓┊help
Set default value for colorpicker.
Yeah, if you need a "default" on existing one, just work with afterStateHydrated, and check if its already set, otherwise set a default. Like this: ->afterStateHydrated(function (Set $set, YourModel $yourModel) { $set('your_model_attr', $yourModel->your_model_attr ?? "default"); })
6 replies
FFilament
Created by ssmusoke on 8/4/2023 in #❓┊help
Saving Wizard Form Contents at Each Step
use Filament\Forms\Components\Actions\Action; use Filament\Forms\Components\Wizard; Wizard::make([ // ... ]) ->nextAction( fn (Action $action) => $action->label('Save & next'), )
8 replies
FFilament
Created by Atreides on 7/29/2024 in #❓┊help
Filament Wizard Step change from visible to hidden error
Fixed this with a workaround, where i hide the last step via setTimeout(function () {document.getElementById("checkout").classList.add("hidden"); }, 0); when the hidden step gets visible
4 replies
FFilament
Created by kazuma on 7/26/2024 in #❓┊help
how to show a modal when press next on wizard step
To open a modal in filament form take a look at answer from mickey pearson in this stack overflow thread: https://stackoverflow.com/questions/77869848/opening-a-modal-in-filament-php
6 replies
FFilament
Created by Atreides on 7/29/2024 in #❓┊help
Filament Wizard Step change from visible to hidden error
bump
4 replies
FFilament
Created by kazuma on 7/26/2024 in #❓┊help
how to show a modal when press next on wizard step
i think you should try to work with visible() on the wizard steps, and change the condition-outcome by your modal. But its not that easy. Especially because I have currently a problem, that the Wizard struggles with steps becoming visible from hidden (opposite is okay).
6 replies
FFilament
Created by EMMAN on 7/27/2024 in #❓┊help
It is possible to add 'SEACH BAR' on Filament Tabs
As of my knowledge its not possible. You need to add that custom
6 replies
FFilament
Created by Atreides on 7/9/2024 in #❓┊help
How to get active tab in beforeValidation()
I think i will build a new custom component now since i did not found an answer after 8 hours research
2 replies