directus-extension-masked-interface

1.1.0 • Public • Published

Directus extension - Masked Interface

Input text string by template

Installation

In your Directus installation root

npm install directus-extension-masked-interface

Restart directus

How to use

The interface extension uses string and numeric types.

  1. Create new standard field with string type
  2. For interface select Input Mask and pick a masking type.

Available masking types:

  • Template - simplified templating pattern
  • RegEx - uses regular expression for defining the pattern
  • Presets
    • URL
    • Email
    • IP Address (IPv4 templating pattern)
    • MAC Address (MAC address template using : as separators)
    • VIN
    • SIN

How it is works

The extension utilizes InputMask by @RobinHerbots for masking library.

Package Sidebar

Install

npm i directus-extension-masked-interface

Weekly Downloads

292

Version

1.1.0

License

gpl-3.0

Unpacked Size

147 kB

Total Files

4

Last publish

Collaborators

  • dimitrov-adrian