© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago•
3 replies
David | Fortune Validator

Standalone Form

Hi all

Sorry to trouble everyone but Im struggling with saving data from a standalone form ( not panels ).

I am saving the data using this
 $this->supplierInvoice->update($this->form->getState()); 
 $this->supplierInvoice->update($this->form->getState()); 


Howver I want to manipulate the 'budget' column to be 1 based on another condition.

I cannot work out how to change the data and it be saved using the above. I tried this:
if($this->data['ourRefArray'] == null)
        {
            $this->data['budget'] = 1;
        }
if($this->data['ourRefArray'] == null)
        {
            $this->data['budget'] = 1;
        }

but it ignores the change.

Am I missing something obvious?
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

Standalone form validation
FilamentFFilament / ❓┊help
3y ago
Component not found after Standalone Form Submission
FilamentFFilament / ❓┊help
2y ago
Styles not loading for standalone Form Builder
FilamentFFilament / ❓┊help
3y ago
Changing colours on standalone Form Builder without Panels
FilamentFFilament / ❓┊help
2y ago