Pass variables when leaving an input field

Hey Guy’s,
i am currently trying to develop a searchbar, see picture.

I would like to submit all filled fields of a form as soon as I leave a field (input/select/checkbox). But not with submit.prevent button.

How i do this?

Hey, @Nosean

use updated method in your livewire component


public function updated($fields)
{
   // check if your inputs data is not empty. It depend on your situation
   $this->search();
} 

public function search()
{
    // implement you search method and returns the results
}

For more information take a look here: