Skip to content

Files

Latest commit

author
CircleCI
May 17, 2019
ca3f94f · May 17, 2019

History

History
This branch is 2807 commits behind ing-bank/lion:master.

input-iban

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 { isCountryIBANValidator } from '@lion/validate';

Example

<lion-input-iban
  name="account"
  .errorValidators="${[['required'], isCountryIBANValidator('BE')]}"
></lion-input-iban>