Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NumeralFieldFormatter not working in Vaadin 8.8.5 in Liferay #20

Open
Temire opened this issue Sep 2, 2019 · 4 comments
Open

NumeralFieldFormatter not working in Vaadin 8.8.5 in Liferay #20

Temire opened this issue Sep 2, 2019 · 4 comments
Labels
Milestone

Comments

@Temire
Copy link

Temire commented Sep 2, 2019

The component has been having errors in my browser. I get this error in the console: com.google.gwt.event.shared.UmbrellaException: Exception caught: (ReferenceError) : Cleave is not defined

What is the problem? or am i using it wrong?

Here is my usage in code:

	TextField amount = new TextField("Amount");
	new NumeralFieldFormatter(",", ".", 3).extend(amount);
@johannesh2
Copy link
Collaborator

johannesh2 commented Sep 2, 2019

Thanks for reporting. Assuming you are using add-on version 2.x for Vaadin 8. I need to test this in Liferay. Which version of Liferay you are using?

Does the component work for you in a simple app created with
mvn -B archetype:generate -DarchetypeGroupId=com.vaadin -DarchetypeArtifactId=vaadin-archetype-application -DarchetypeVersion=8.8.5 -DgroupId=org.test -DartifactId=textfielformatter-app -Dversion=1.0-SNAPSHOT

@Temire
Copy link
Author

Temire commented Sep 2, 2019

Thanks for reporting. Assuming you are using add-on version 2.x for Vaadin 8. I need to test this in Liferay. Which version of Liferay you are using?

Does the component work for you in a simple app created with
mvn -B archetype:generate -DarchetypeGroupId=com.vaadin -DarchetypeArtifactId=vaadin-archetype-application -DarchetypeVersion=8.8.5 -DgroupId=org.test -DartifactId=textfielformatter-app -Dversion=1.0-SNAPSHOT

It is working outside of the Liferay portal environment. So i guess the issue is the liferay environment??

Liferay version is 7.1

@johannesh2
Copy link
Collaborator

Ok. I'll take a look at and try to figure out what's happening.

@johannesh2 johannesh2 added the bug label Sep 2, 2019
@johannesh2 johannesh2 added this to the 2.3 milestone Sep 2, 2019
@Temire
Copy link
Author

Temire commented Sep 2, 2019

Ok.

@johannesh2 johannesh2 modified the milestones: 2.3, 2.4 Sep 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants