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

Make Angular component consumable multiple times #1657

Merged
merged 1 commit into from
Dec 3, 2020

Commits on Dec 2, 2020

  1. Make Angular component consumable multiple times

    The JSONForms Angular component needs the jsonforms service
    to set the right data, schema, uischema etc.
    The problem is, that the service is a singleton,
    as it is registering as a root service.
    
    This commit introduces a new root component `jsonforms`
    which allows to pass all parameters into the component.
    The component is now initializing the service internally.
    Furthermore, the service is not registered as a root service anymore.
    Now multiple jsonforms components can be used next to each other.
    
    The angular tests were adapted to work with the behavior change.
    eneufeld committed Dec 2, 2020
    Configuration menu
    Copy the full SHA
    2335e64 View commit details
    Browse the repository at this point in the history