sorry for late answer,
public function addToRegistry($model, $key) {
$this->registry[$key]['product_model'] = $model;
$this->reset($this->query);
}
here is the function , but it doesn’t matter
and I solved the problem. The problem was here
VM316:6 Uncaught SyntaxError: Octal literals are not allowed in strict mode for wire method
I had to put {{$product[‘model’]}} into ‘’
I couldn’t understand where is mistake, because in browser console there was no ajax notice when I click, I thought that it wasn’t working