Skip to content

flang/vaadin-input-mask

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Input Mask Add-on for Vaadin Flow

Vaadin Flow integration of imaskjs library.

This component is part of Vaadin Component Factory.

Description

InputMask component allows to add an input mask to a Vaadin Flow component like TextField or DatePicker.

Development instructions

Build the project and install the add-on locally:

mvn clean install

To start the demo server go to vcf-input-mask-demo and run:

mvn jetty:run

This deploys demo at http://localhost:8080

Using the component in a Flow application

To use the component in an application using maven, add the following dependency to your pom.xml:

<dependency>
    <groupId>org.vaadin.addons.componentfactory</groupId>
    <artifactId>vcf-input-mask</artifactId>
    <version>${component.version}</version>
</dependency>

Basic use example

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

License & Author

This Add-on is distributed under Apache Licence 2.0.

InputMask Component for Vaadin Flow is written by Vaadin Ltd.

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.

Missing features or bugs

You can report any issue or missing feature on GitHub.

About

Vaadin Flow integration of imaskjs library.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 83.7%
  • JavaScript 15.1%
  • CSS 1.2%