Skip to content
This repository has been archived by the owner on Oct 31, 2024. It is now read-only.

Commit

Permalink
feat: add keyup event invoke actions (#692)
Browse files Browse the repository at this point in the history
  • Loading branch information
Michal-Dziedzinski authored May 5, 2020
1 parent a0d2a8a commit 023b25f
Show file tree
Hide file tree
Showing 4 changed files with 1,130 additions and 60 deletions.
2 changes: 1 addition & 1 deletion packages/default-theme/components/SwLogin.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<div class="sw-login">
<div class="sw-login" @keyup.enter="invokeLogin">
<div class="form sw-login__form">
<SfAlert
v-if="userError"
Expand Down
2 changes: 1 addition & 1 deletion packages/default-theme/components/SwRegister.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<div class="sw-register">
<div class="sw-register" @keyup.enter="invokeRegister">
<div class="form sw-register">
<!-- <h2 class="sw-register__header">Register</h2> -->
<SfAlert
Expand Down
2 changes: 1 addition & 1 deletion packages/default-theme/components/SwResetPassword.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<div class="sw-reset-password">
<div class="sw-reset-password" @keyup.enter="invokeResetPassword">
<div class="form sw-reset-password__form">
<!-- <h2 class="sw-reset-password__header">Reset password</h2> -->
<SfAlert
Expand Down
Loading

1 comment on commit 023b25f

@vercel
Copy link

@vercel vercel bot commented on 023b25f May 5, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.