-
Notifications
You must be signed in to change notification settings - Fork 379
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
Support Angular w/ Material v16 #2138
Comments
Another alternative would be Formly: https://github.com/ngx-formly/ngx-formly |
Yes, their product does look very good and i tried it |
I also wanted to implement it in my project as the project looks quite practical. |
In general we would like to support the latest Angular version when possible. This is complicated by the fact that our Angular builds are very old school and need to be modernized. The community driven PR to support Angular 15 sadly got stuck. If someone of the community wants to contribute Angular 15/16 support then we will gladly accept that. We are currently working on modernizing the repo with |
Wondering if it would made more sense to just use Web components instead of maintaining integrations for each framework. There are projects following this direction, such as material web, which aims to be compatible with multiple frameworks with the same codebase.
|
It seems like no A16 support is coming in the new future? Web components are not an option. It won't integrate with any company/enterprise or custom renderers or themes. Web components are extremely limited and don't work well in the real world - unless all you do is very basic standard one-off apps. I guess the only option left is to extract and convert/integrate the angular adapter part into the project directly. Staying stuck on A14 is not a long-term option and too late to remove jsonforms since there is no alternative. |
I recommend Formly. It takes some time getting used to it but it can do everything this package does and creating custom controls is super simple. It works with Angular 16. |
It's not an option to swap. There is an entire backend and UI built around it. With custom renderers for an internal component library. All rely on the 3 separate JSON/jsonschema structures. That's months of work that no company will give you time for to just rewrite everything and convert all existing data. |
Hello @Ketec, |
There really isn't much to change code-wise for the adapter code itself. Not familiar with the building/project structure. In that case, The material renderer is a separate issue (likely breaking changes). But I use a custom renderer so I have not tried it. |
@Ketec If you can report that our current |
I have not tested against 16 yet (will take some time to get 15 stable and then upgrade to 16). But I only tested 15 by copy-pasting the Lerna built lib contents to node_modules ( did not see how it builds the actual npm package). |
Hi I have changed angular version from 14 to 16 so now on npm install it is giving broken dependency error and is advising to use --force. |
I did update the angular-seed project to v15 and tried to use v3.1.0 (using --force when installing) I had no build error but runtime errors:
I guess most of the fixes are available in this guide: https://v15.material.angular.io/guide/mdc-migration but I didn't have time to check it out yet. It's unfortunatly not as trivial as adding |
Yes, it needs some code level fixes due to strictness etc. But i more or less gave up abd use a bare minimum of it witj jsonforms core (I alreDy had custom renderer). |
I isolated
Edit: The custom value accessor error came from the seed |
Angular 16 (and 17) support was added via #2229 |
Is your feature request related to a problem? Please describe.
We would like to use Angular for an Application in the version 16 as it is the latest version of angular and stumbled upon this repo for a great (in version 14) working form system. As it looks like the Angular package is still worked on, in version 12 which is quite old by now and should be updated due to some vulneribiltys.
Describe the solution you'd like
Update the dependencys used for the angular and angular material packages to latest standards.
Describe alternatives you've considered
Not using jsonforms if it is not possible.
Framework
Angular
RendererSet
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: