the comands @keyup.enter is not working
albertomenen opened this issue · 0 comments
albertomenen commented
Version
5.0.8
Environment info
The code I have is suppose to do the login function when you press enter but is not listening the call. Even tho I made a console.log to check there is no call from the front size once you press enter.
Steps to reproduce
create a login and password Binput, like this code:
<BInput
v-model="password"
custom-class="is-italic"
icon-pack="fas"
password-reveal
:placeholder="$t('fields.password')"
rounded
size="is-medium"
type="password"
@keyup.enter="login"
/>
And when you press enter in any of the inputs, the code the does not run.
What is expected?
you can call the login function from vue
What is actually happening?
there is no call and nothing happen