We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 247789a commit ff3e16dCopy full SHA for ff3e16d
src/modal/modal.service.ts
@@ -48,8 +48,6 @@ export class ModalService {
48
data = Object.assign({}, defaults, data);
49
50
const inputProviders = Object.keys(data.inputs).map(inputName => ({provide: inputName, useValue: data.inputs[inputName]}));
51
- // const resolvedInputs = ReflectiveInjector.resolve(inputProviders);
52
- // const injector = ReflectiveInjector.fromResolvedProviders(resolvedInputs, this.placeholder.viewContainerRef.parentInjector);
53
const injector = Injector.create(inputProviders);
54
const factory = this.resolver.resolveComponentFactory(data.component);
55
let focusedElement = document.activeElement;
0 commit comments