F
Filament15mo ago
WrkL

Refresh form data on action

Hello, how can i refresh form data on action / update in a standalone form builder ? tried wire:click="$refresh" but it didnt work
6 Replies
ZedoX
ZedoX15mo ago
Where is this action? Page Action? Table Action? Form Action?
WrkL
WrkLOP15mo ago
in a livewire component that have form with form builder and a button to trigger refresh
Patrick Boivin
Patrick Boivin15mo ago
Does the action itself modify the data? Can you share more information on what you're building exactly?
WrkL
WrkLOP15mo ago
here is what i am building, this is a tablerepeater and if user select "barang diterima" then input qty button should be visible the button will open up a modal for user to input the qty with some additional info and after submit it should update the "qty receive" column which is currently 0 usually i can update it using $set in afterStateUpdated but i cant figure it out how to make it work for custom field like this one
No description
Patrick Boivin
Patrick Boivin15mo ago
You should be able to use $set with a TableRepeater. Can you share some code to show what you've been trying?
Sanjana
Sanjana12mo ago
Want results from more Discord servers?
Add your server