Skip to content

Move away from @ng-dynamic-formsΒ #2216

@ybnd

Description

@ybnd

Issue / context

During the Angular 15 upgrade, @Atmire-Kristof noticed conflicts between the newer versions of the following libraries:

  • ng-bootstrap
    • v14 supports Angular 15 properly
  • @ng-dynamic-forms
    • v16+ claims to support Angular 15, but @ng-dynamic-forms/ui-ng-bootstrap still requires ng-bootstrap v11 as a peer dependency, which itself doesn't support Angular 15
    • After "forcing" the upgrade, builds fail because of inconsistencies between the ng-bootstrap versions, so this is not a viable workaround

Rather than do a half-upgrade we opted to leave both of these libraries as-is for now. This leads to peer dependency mismatch warnings, but everything remains functional.

Solution

It looks like development of @ng-dynamic-forms has slowed down as of late, and this version mismatch is a bit of a red flag. Therefore, we should consider moving away from this library and use the default Angular forms instead for more stability.

This would involve a significant refactor of DSpace Angular submission.

References

Add references/links to any related issues or PRs. These may include:

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    πŸ“‹ To Do

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions