Directory

← Back

Input Mask Add-on

Vaadin Flow integration of imaskjs library.

Author

Contributors

Rating

Description

Input Mask component integrates imaskjs library to allows to add an input mask to a Vaadin Flow component like TextField or DatePicker.

Major pieces of development of this add-on has been sponsored by multiple customers of Vaadin. Read more about Expert on Demand at: Support and Pricing.

Sample code

TextField phoneField = new TextField("Phone");
new InputMask("(000) 000-0000").extend(phoneField);

Compatibility

(Loading compatibility data...)

Was this helpful? Need more help?
Leave a comment or a question below. You can also join the chat on Discord or ask questions on StackOverflow.

Version

Bug fixes:

  • fix cursor behavior on backspace delete with lazy option false
Released
2023-05-12
Maturity
EXPERIMENTAL
License
Apache License 2.0

Compatibility

Framework
Vaadin 14
Vaadin 24 in 2.0.0
Vaadin 23 in 2.0.0
Browser
N/A
Online