Hello,
I have a button to clear the fields and searches.
But I would also like it to render the entire component when run.
I do not know if it is the best, I am looking for the option to clean clean everything, restart all forms, without reloading the web page.
public function clear(){
$this->ambiente='';
$this->page=1;
$this->perPage='5';
$this->emit('resett');
}
I call it with a CLICK event from the view and also run it in some function.
regars