String IMask

Renders a masked text input using IMask.js.

Activation Conditions

  • "type": "string"
  • "x-format": "imask"
  • IMask.js must be available (window.IMask)
  • Plugin: IMask.js on GitHub

Plugin Options

Options can be passed to the plugin via "x-imask" keyword

Example

{
  "title": "IBAN",
  "type": "string",
  "x-format": "imask",
  "x-imask": {
    "mask": "DE00 0000 0000 0000 0000 00",
    "lazy": false
  }
}