lion/packages/input-email
Thomas Allmer 4a93599228 chore: update storybook version
Co-authored-by: Joren Broekema <Joren.Broekema@ing.com>
2020-01-13 13:58:03 +01:00
..
src feat: finalize validation and adopt it everywhere 2019-11-18 15:30:08 +01:00
stories chore: update storybook version 2020-01-13 13:58:03 +01:00
test feat: integrate and pass automated a11y testing 2019-12-03 15:15:01 +01:00
CHANGELOG.md chore: release new versions 2020-01-08 15:32:29 +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: update storybook version 2020-01-13 13:58:03 +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>