F
Filament11mo ago
Anik

disable form when media is uploaded

Hi, I want to disable form using $form->disabled() and also next button on wizard when a media is being uploaded. I have tried extra attributes on the button, but it isnt working
->nextAction(
fn (Action $action) => $action->label('Next')->extraAttributes([':disabled' => 'isUploadingFile']),
),
->nextAction(
fn (Action $action) => $action->label('Next')->extraAttributes([':disabled' => 'isUploadingFile']),
),
1 Reply
Anik
AnikOP11mo ago
bump

Did you find this page helpful?