Input Mask Add-on
Vaadin Flow integration of imaskjs library.
Description
Input Mask component integrates imaskjs library to allows to add an input mask to a Vaadin Flow component like TextField or DatePicker.
Sponsored development
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);
Links
Compatibility
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
- Allow masks into vaadin-text-area components.
- Released
- 2024-06-13
- Maturity
- TESTED
- License
- Apache License 2.0
Compatibility
- Framework
- Vaadin 23
- Vaadin 24
- Vaadin 14 in 1.0.0
- Browser
- N/A
Input Mask Add-on - Vaadin Add-on Directory
Vaadin Flow integration of imaskjs library.Input Mask Add-on version 1.0.0
First release of InputMask component compatible with Vaadin 14.
Input Mask Add-on version 2.0.0
First release of InputMask component compatible with Vaadin 23.
Input Mask Add-on version 1.0.1
#### Bug fixes:
* Cursor position fix for field with lazy false option
Input Mask Add-on version 1.0.2
#### Bug fixes:
* fix cursor behavior on backspace delete with lazy option false
Input Mask Add-on version 2.0.1
Update the version of imask, remove the deprecated usage of lit-element in favor of lit
Input Mask Add-on version 2.0.2
#### Bug fixes:
* Fix server value issue
Input Mask Add-on version 2.0.3
#### Bug fixes:
Fix regression bug when synchronizing server value
Input Mask Add-on version 2.0.4
#### Bug fixes:
* Fix iMask instance value synchronization with server
Input Mask Add-on version 2.1.0
#### New features:
* Allow to bind textfield to unmasked value ([#8](https://github.com/vaadin-component-factory/input-mask/issues/8))
Input Mask Add-on version 2.1.1
#### Bug fixes:
* fix cursor behavior after insert ([#13](https://github.com/vaadin-component-factory/input-mask/issues/13))
Input Mask Add-on version 2.2.0
* Allow masks into vaadin-text-area components.