title: Problems getting data on event change vue and laravel
body: <p>I'm having a hard time getting data from an event triggered by a change in a select, let me show you the code:</p>
  
  <p>This is the select:</p>
  
  <pre><code>&lt;b-col md="4" sm="12"&gt;
                  &lt;b-form-group label="Tipo: " label-for="tipo"&gt;
                      &lt;input type="hidden" v-model="maintenance.typeId" name="tipoId" id="tipoId"&gt;
                      &lt;b-form-select id="tipo" :options="options" :readonly="mode === 'remove'" @change="selecionar($e)"&gt;&lt;/b-form-select&gt;
                  &lt;/b-form-group&gt;
              &lt;/b-col&gt;
  </code></pre>
  
  <p>This is the method:</p>
  
  <pre><code>selecionar(e){
              var tipo = e.target.value
              const url = this.rotatipoautcomp
  
              axios.get(`${url}?${parseInt(tipo)}` + parseInt(tipo), this.manutencoes).then(res =&gt; {
                  this.manutencoes = res.data
                  return console.log(this.parseInt(tipo))
              })
          }
  </code></pre>
  
  <p>This is the function in the controller:</p>
  
  <pre><code>public function ajaxServices(Request $request)
  {
      $tipo = Input::get('tipo');
      /*$tipo = $request-&gt;tipo;*/
  
      //$tipoSelection = TecManutencaoTipo::where('tipo', '=', $tipo)-&gt;select('tipo')-&gt;first();
  
      $tiposSelected = TecManutencaoTipo::select('manutencao AS value')-&gt;where('tipo', '=', $tipo)-&gt;get();
  
      $dados = [];
  
      if($tiposSelected){
          $dados = $tiposSelected;
          //\Log::info($dados);
          return $dados;
      } else {
          return response()-&gt;json($dados, 422);
      }
  }
  </code></pre>
  
  <p>That's the route:</p>
  
  <pre><code>Route::get('ajax-tipo', ['as'=&gt;'tecelagem.manutencao.cadastro.ajax-tipo', 'uses' =&gt; 'TecelagemManutencaoController@ajaxServices']);
  </code></pre>
  
  <p>In payloads on Vue Developer Tools i get the values that i expect but still get the error: </p>
  
  <blockquote>
    <p>[Vue warn]: Error in v-on handler: "TypeError: Cannot read property 'target' of undefined"</p>
  </blockquote>
  
  <p>Since i'm new on vue, i didn't manage to solve this.</p>
  
  <p>I've been searching in a lot of places but didn't found anything that could help me.</p>
  
  <p>Can anyone help me please?</p>
  
  <p>If there's any information needed just tell me.</p>