Using $refs with Element UI's input component
<p>Is it possible to use <code>ref</code> with <code>el-input</code> component from Element-UI? I am trying to use <code>$refs</code>to focus on the input when my Vue instance is mounted. Here is my code:</p>

<pre><code>&lt;div id="app"&gt;
    &lt;el-input type="text" ref="test" placeholder="enter text"&gt;&lt;/el-input&gt;
&lt;/div&gt;
</code></pre>

<p>And in my Vue instance:</p>

<pre><code>new Vue({
  el: "#app",
  mounted(){
    this.$refs.test.focus()
  }
})
</code></pre>

<p>The <code>focus</code> method is not working at all, even if I move <code>this.$refs.test.focus()</code> into a method and try to trigger it through an event.</p>