CInput: can't focus

Hello,

I’m using CoreUI with Vue.js. I’m not able to focus on a CInput tag. I gave the ref password to the element.

I tried both ways, but neither is working.

this.$refs.password.focus();
this.$refs.password.$el.focus();

Did somebody encounter the same issue?

Thank you!