is it possible to disable form while image is uploading?

the field state goes uncompleted after image upload. is there any way to disable the form while image is uploading?
Solution
@Leandro Ferreira Your hint was helpful.
I solved it this way:

namespace App\Providers;

use Illuminate\Support\ServiceProvider;
use Filament\Forms\Components\Component;

class FilamentProvider extends ServiceProvider
{
    /**
     * Register services.
     */
    public function register(): void
    {
        //
    }

    /**
     * Bootstrap services.
     */
    public function boot(): void
    {
       Component::configureUsing(function (Component $component){
        if ( method_exists($component::class , 'extraAlpineAttributes' )  )

            $component->extraAlpineAttributes([':disabled' => 'isUploadingFile']);
        
       });
    }
}


I am not sure if it is the best practice . but it seems works.

thank you.
Was this page helpful?