Table Builder / TextInputColumn / Updating other fields on the row

Field 1: special_price Field 2: start_date Field 3: end_date All three are TextInputColumns in a table. When the special_price has been updated, using beforeStateUpdated I can also update the start_date to be todays date and end_date to be the end of the month. It updates the database and we are good to go. But, I would also like to update the UI. I have to refresh the page for the new date to load into the field. Is there a way to trigger the UI to reload another field in the table? Table Builder / Version 3
1 Reply
Amit Samtani
Amit Samtani5w ago
Got it: afterStateUpdated(fn ($record) => $record->refresh())