Co-authored-by: Mikhail Bashkirov <mikhail.bashkirov@ing.com> Co-authored-by: Thijs Louisse <thijs.louisse@ing.com> Co-authored-by: Joren Broekema <joren.broekema@ing.com> Co-authored-by: Gerjan van Geest <gerjan.van.geest@ing.com> Co-authored-by: Erik Kroes <erik.kroes@ing.com> Co-authored-by: Lars den Bakker <lars.den.bakker@ing.com> |
||
|---|---|---|
| .. | ||
| src | ||
| stories | ||
| test | ||
| index.js | ||
| lion-input-email.js | ||
| package.json | ||
| README.md | ||
Input Email
lion-input-email component is based on the generic text input field. Its purpose is to provide a way for users to fill in an email.
Features
- based on lion-input
- default label in different languages
- makes use of email validators with corresponding error messages in different languages
- isEmail (default)
How to use
Installation
npm i --save @lion/input-email
import '@lion/input-email/lion-input-email.js';
Example
<lion-input-email
name="email"
.errorValidators="${[['required']]}"
></lion-input-email>