lion/packages/input-email
2019-12-02 10:51:21 +01:00
..
src feat: finalize validation and adopt it everywhere 2019-11-18 15:30:08 +01:00
stories feat: finalize validation and adopt it everywhere 2019-11-18 15:30:08 +01:00
test feat: finalize validation and adopt it everywhere 2019-11-18 15:30:08 +01:00
CHANGELOG.md chore: release new versions 2019-12-01 15:12:36 +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 fix: use strict versions to get correct deps on older versions 2019-12-02 10:51:21 +01:00
README.md feat: finalize validation and adopt it everywhere 2019-11-18 15:30:08 +01: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
  • 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';

// validator import example
import { Required } from '@lion/validate';

Example

<lion-input-email label="email" name="email" .validators="${['new Required()]}"></lion-input-email>