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

Replace form building components with Dynamic Form Controls #16

Closed
darrenmothersele opened this issue Feb 21, 2019 · 5 comments
Closed
Assignees

Comments

@darrenmothersele
Copy link
Collaborator

darrenmothersele commented Feb 21, 2019

The plan is to try and use ng-dynamic-forms library to generate forms to edit data based on the schema files in the adapter repositories. This will replace the current custom code that generates different forms using ngSwitchCase and the YAML schema files in this repo.

In order to achieve this we will leverage some of the more advanced features of the ng-dynamic-forms library. In particular, we will need autocomplete, custom form controls, and custom templates.

Some issues linked here to help in this task:

udos86/ng-dynamic-forms#928

udos86/ng-dynamic-forms#810

udos86/ng-dynamic-forms#933

There may also be an issue using the JSON form models with custom form controls. This needs to be investigated further.

@darrenmothersele darrenmothersele self-assigned this Feb 21, 2019
@darrenmothersele
Copy link
Collaborator Author

udos86/ng-dynamic-forms#762 (comment)

please beware that there's currently no support for recreating a custom dynamic form control model from JSON.

@darrenmothersele
Copy link
Collaborator Author

  • reference fields: autocomplete/select link to item(s) from other schema
  • embedded entity: inline item(s) from other schema

@darrenmothersele
Copy link
Collaborator Author

Our plan for reference fields requires this: udos86/ng-dynamic-forms#928

@darrenmothersele
Copy link
Collaborator Author

Also see: udos86/ng-dynamic-forms#749

@darrenmothersele
Copy link
Collaborator Author

darrenmothersele commented Mar 19, 2019

  • nested form arrays
  • adding form array controls

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