© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•2y ago•
11 replies
EL REKT

Updating record with custom action

i want to update data from another model with custom action, but the result always false(not updated), So far, this is what I've done. Function save is running smoothly btw
update_on_custom_action.png
Solution
Schedule::updateOrCreate(
  ['ticket_header_ticket_id' => $ticket->ticket_id],
  ['schedule' => $data['schedule']]
)
Schedule::updateOrCreate(
  ['ticket_header_ticket_id' => $ticket->ticket_id],
  ['schedule' => $data['schedule']]
)


?
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

Replicate Action updating cloned record
FilamentFFilament / ❓┊help
2y ago
Updating record via modal footer action
FilamentFFilament / ❓┊help
3y ago
Custom Action in RelationManager with current record injection
FilamentFFilament / ❓┊help
3y ago
Bind $record in a custom action
FilamentFFilament / ❓┊help
3y ago