lion/packages/input-iban
CircleCI 3abb65da33 chore: release new versions
- @lion/button@0.3.41
 - @lion/calendar@0.3.6
 - @lion/checkbox-group@0.3.3
 - @lion/checkbox@0.2.5
 - @lion/choice-input@0.4.3
 - @lion/field@0.6.2
 - @lion/fieldset@0.4.2
 - @lion/form-system@0.2.3
 - @lion/form@0.3.3
 - @lion/input-amount@0.3.3
 - @lion/input-date@0.3.3
 - @lion/input-datepicker@0.4.4
 - @lion/input-email@0.3.3
 - @lion/input-iban@0.3.3
 - @lion/input@0.3.3
 - @lion/localize@0.6.0
 - @lion/option@0.3.3
 - @lion/popup@0.3.18
 - @lion/radio-group@0.3.3
 - @lion/radio@0.2.5
 - @lion/select-rich@0.6.3
 - @lion/select@0.3.3
 - @lion/switch@0.3.4
 - @lion/textarea@0.3.3
 - @lion/tooltip@0.3.18
 - @lion/validate@0.4.1
2019-11-27 12:50:10 +00: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
translations feat: finalize validation and adopt it everywhere 2019-11-18 15:30:08 +01:00
CHANGELOG.md chore: release new versions 2019-11-27 12:50:10 +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-11-27 12:50:10 +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>