F
Filament14mo ago
Iztok

Form polling

I have a background task with a queued job based on which a form element would be enabled/disabled. So until the job is done, the form element should be disabled. How should I go about this without having togo too much outside of Filament forms (I say this because I have an idea ho would I do this with a custom Livewire component).
1 Reply
nostrodamned
nostrodamned14mo ago
set the default on the migration for the status then on the field set the default to that database value? then when the job is finished the field in the db will be updated
Want results from more Discord servers?
Add your server