Reset form data in action
I've got an action with a form, within that action i've got another action, with that action i want to reset the form data but it doesnt seem to do anything.
5 Replies
$this will only reset that actions form, you need to reset the parent data?
yes
@toeknee Do you have a solution for this?
I am not sure tbh... you could try: Closure $get, $set and then: $set('../', [])
Doenst work
->action(function(Closure $set, $record){
$set('../', []);
})
If it not closure?