lion/packages/input-email
2019-07-23 17:03:37 +02:00
..
src fix: update storybook/linting; adjust story labels, eslint ignores 2019-04-28 15:02:31 +02:00
stories chore: cleanup references 2019-07-23 10:22:52 +02:00
test fix: update storybook/linting; adjust story labels, eslint ignores 2019-04-28 15:02:31 +02:00
CHANGELOG.md chore: release new versions 2019-07-23 15:02:24 +00:00
index.js feat: release inital public lion version 2019-04-26 10:37:57 +02:00
lion-input-email.js feat: release inital public lion version 2019-04-26 10:37:57 +02:00
package.json chore: release new versions 2019-07-23 15:02:24 +00:00
README.md chore: fix prepublish pattern format 2019-07-23 17:03:37 +02:00

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>