masked

[danger] DEPRECATION WARNING

The Masked Input Plugin this component is based on is no longer in active development. This field will be removed in v3.

Masked input field

This is a masked input field for formatted string values. (e.g. phone number, zip code, card numbers...etc)

Please note, this field depend on the following library:

Special properties of field

maskOptions

@TODO

Usage

Phone number masked field

{
    type: "masked",
    label: "Mobile phone",
    model: "mobile",
    mask: "(99) 999-9999"
}

Date masked field

{
    type: "masked",
    label: "Date",
    model: "date",
    mask: "99/99/9999",
    maskOptions: {
      placeholder: "mm/dd/yyyy"
    }
}

Last updated