lion/packages/input-iban
2019-12-03 15:15:01 +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: integrate and pass automated a11y testing 2019-12-03 15:15:01 +01:00
translations 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: finalize validation and adopt it everywhere 2019-11-18 15:30:08 +01:00
lion-input-iban.js feat: release inital public lion version 2019-04-26 10:37:57 +02:00
package.json chore: release new versions 2019-12-01 15:12:36 +00:00
README.md feat: finalize validation and adopt it everywhere 2019-11-18 15:30:08 +01:00

Input IBAN

lion-input-iban component is based on the generic text input field. Its purpose is to provide a way for users to fill in an iban.

Features

  • based on lion-input
  • default label in different languages
  • makes use of IBAN specific validate with corresponding error messages in different languages
    • IsIBAN (default)
    • IsCountryIBAN

How to use

Installation

npm i --save @lion/input-amount
import '@lion/input-amount/lion-input-amount.js';

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

Example

<lion-input-iban
  name="account"
  .validators="${[new Required(), new IsCountryIBAN('BE')]}"
></lion-input-iban>