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

feat(core): support custom model json map fn injectionToken #1009

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Commits on Aug 17, 2019

  1. feat(core): support custom model json map fn injectionToken

    The map func is of type DynamicFormControlModelConfigMapFn which passes an instance of the service with the model. this is done in order to support recursive calling fromJSON and other methods for cases like ARRAY. The motivation behind this PR is to truly support custom controls. Currently you can only extend known types and the extension is limited, you cannot really add new options to the json config. this allowes to map model config json to a new model class with custom options and configurations. My use case is a draggable form control which can be enabled from the json.
    ronherolo committed Aug 17, 2019
    Configuration menu
    Copy the full SHA
    69ea14a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1a9faf0 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ed78b24 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    84fd0d0 View commit details
    Browse the repository at this point in the history

Commits on Aug 18, 2019

  1. Configuration menu
    Copy the full SHA
    23ad525 View commit details
    Browse the repository at this point in the history