leandrobortoli / vaadin-inputmask

Vaadin Extension to allow masked inputs.
https://vaadin-inputmask-demo.herokuapp.com/
Apache License 2.0
4 stars 2 forks source link

Plugin does not do anything #2

Open l33the opened 6 years ago

l33the commented 6 years ago

OS: Windows 10 Version: Vaadin 8.1.7 Spring Boot: 1.5.9

So, i used your plugin but it does not affect anything in my code. Is it because I am using my View as a Spring Component? The only addon i am using additionally is the App-Layout-Addon .

My code, althought that doesnt help a lot i guess:

` @PostConstruct public void init() { InputMask.addTo(telField,"9999/99999999");

        InputMask mailInputMask = new InputMask(Alias.EMAIL);
        mailInputMask.extend(mailField);

        InputMask nameInputMask = new InputMask("************************");
        nameInputMask.setNumericInput(false);
        nameInputMask.extend(nameField);

        InputMask nameInputMask2 = new InputMask("************************");
       nameInputMask2.setNumericInput(false);
       nameInputMask2.extend(surnameField);

   (...)

       mainPage.addComponent(name);
       mainPage.addComponent(telField);
       mainPage.addComponent(mailField);
       mainPage.addComponent(domainComboBox);
       mainPage.addComponent(categoryComboBox);
       mainPage.addComponent(smsActivated);

} `

henriquemeira commented 5 years ago

Same here.

Version: Vaadin 8 Spring Boot: 2

jonasrotilli commented 5 years ago

I also could not use it in SpringBoot with vaadin 8.7.1. I wonder why?