© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago•
3 replies
Caen

Reactive/live form field state (like wire:loading)

Hey! What would be the Filament way to disable a reactive form field during network requests?

The following does not work as it gets added to the parent:
 ->extraAttributes([
      'wire:loading.attr' => 'disabled',
  ])
 ->extraAttributes([
      'wire:loading.attr' => 'disabled',
  ])


And the following feels too hacky:
 ->extraAttributes([
    'wire:loading.class' => 'opacity-50 cursor-wait',
  ])
 ->extraAttributes([
    'wire:loading.class' => 'opacity-50 cursor-wait',
  ])


Basically I just want to show the user that something is happening after they modified the reactive form. Bonus points if I can make it so that this only happens if the specific input is edited.
Solution
extraInputAttributes()
Jump to solution
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Form field not updating with reactive()
FilamentFFilament / ❓┊help
3y ago
reactive() vs live()
FilamentFFilament / ❓┊help
3y ago
Form Component Toggle live or reactive() not working
FilamentFFilament / ❓┊help
3y ago
Update Form FIELD state from JS
FilamentFFilament / ❓┊help
2y ago