parttio / textfieldformatter

TextField Formatter Vaadin add-on
Apache License 2.0
13 stars 9 forks source link

Phone number formatter doesn't work in Vaadin 23.3.x #65

Open syampillai opened 1 year ago

syampillai commented 1 year ago

Seems to have problems with Vaadin 23.3.x

The following code throws javascript errors on the console looking for phone-type-formatter.{country}.js.


TextField textField;
add(textField = new TextField("Phone"));
new PhoneI18nFieldFormatter("US").extend(textField);
johanneshayry commented 1 year ago

Seems that maybe at a point the google libphonenumber was a transitive dependency, but not anymore. I need to release a new version with that dependency.

johanneshayry commented 1 year ago

No, I'm mistaken. The add-on is still included, but there is some other issue. I'll see if I can fix it.