Skip to content

Commit

Permalink
remove lib prefix from components selector
Browse files Browse the repository at this point in the history
  • Loading branch information
skynetigor committed Mar 13, 2022
1 parent 77e308a commit b7b55c2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
</ng-template>

<ng-template #formGroupTemplate let-dynamicFormGroup="dynamicFormGroup" let-name="name">
<lib-dynamic-form-outlet [id]="name" [dynamicFormGroup]="dynamicFormGroup"></lib-dynamic-form-outlet>
<dynamic-form-outlet [id]="name" [dynamicFormGroup]="dynamicFormGroup"></dynamic-form-outlet>
</ng-template>

<form
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ import { DynamicFormOutletComponent } from './dynamic-form-outlet.component';
@Component({
selector: 'lib-test-component',
template: `
<lib-dynamic-form-outlet
<dynamic-form-outlet
[dynamicFormGroup]="formGroup"
[controlWrappers]="useControlWrapper ? { firstControl: controlWrapper, secondControl: controlWrapper } : null"
></lib-dynamic-form-outlet>
></dynamic-form-outlet>
<ng-template #controlWrapper let-control="control">
<div id="{{ control.name }}Wrapper"><ng-container #some [dynamicFormControlOutlet]="control"></ng-container></div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { isDynamicControl, isDynamicFormGroup, isTemplateModel } from '../../uti
* A component for rendering form based on @class DynamicFormGroup
*/
@Component({
selector: 'lib-dynamic-form-outlet',
selector: 'dynamic-form-outlet',
templateUrl: './dynamic-form-outlet.component.html'
})
export class DynamicFormOutletComponent implements OnInit, OnChanges, DoCheck {
Expand Down

0 comments on commit b7b55c2

Please sign in to comment.