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

Using PropertyRendererRegistry crashes the page #108

Open
vaithu opened this issue Jun 24, 2020 · 1 comment
Open

Using PropertyRendererRegistry crashes the page #108

vaithu opened this issue Jun 24, 2020 · 1 comment

Comments

@vaithu
Copy link

vaithu commented Jun 24, 2020

If I refresh the page or edit some components values, I get this error when using

PropertyRendererRegistry.getDefault()
                .forProperty(Product.CATEGORY, Input.InputPropertyRenderer.create(property -> category))

java.lang.IllegalStateException: Can't move a node from one state tree to another. If this is intentional, first remove the node from its current state tree by calling removeFromTree

@vaithu
Copy link
Author

vaithu commented Jun 26, 2020

Using .usePropertyRendererRegistry(PropertyRendererRegistry.get()) also has the same effect or may be a redundant statement

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant