I have the below in my code and having the onUpdate
method to false
has no different effect on the fronted when I submit a form. What does setting the parameter to false
do?
#[Validate('required | image | max:1024', onUpdate: false)]
public function store()
{
$this->validate();
//Logic to create a post
}