Skip to content

SchemaForm does not load if optional dependencies are not included #457

@waleedasif322

Description

@waleedasif322

I want to make a pull request for this fix, but I want to know if this happens to others as well, or if it's only my problem. The documentation says that this and ui-sortable are optional, but I have to include them in my app, or this exception doesn't load the form:

try {
  //This throws an expection if module does not exist.
  angular.module('angularSpectrumColorpicker');
  deps.push('angularSpectrumColorpicker');
} catch (e ) {}

I get an exception that schemaForm dependency was not loaded. Do other people have this problem, or is it only me? I am using ocLazyLoad.

If other people have this problem too, I will send a pull request for a workaround.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions