# Forgot Password Form
import ForgotPassword from "mela-store";
# Example:
I remember my password?
Login
<login
ref='melastoreForgotPassword'
@send-password-reset-link='sendPasswordResetLink'
@show-login-form='showLoginForm'
/>
# Validation
The current validations in place check to ensure that:
- All fields are required
- A valid email is used
Adding custom errors/validations can be done using the following in the login event:
this.$refs.melastoreRegister.setEmailError(error)
# Props
Name | Type | Default | Description |
|---|---|---|---|
| classes | string | "" | Additional classes |
# Events
Name | Arguments | Description |
|---|---|---|
| send-password-reset-link | email - user email | Send password reset email to user |
| show-login-form | - | Switches view to login form |