Skip to content
This repository was archived by the owner on Jan 5, 2022. It is now read-only.

Commit 98c415f

Browse files
authored
Merge pull request #96 from msamirnow/master
Fix message not showing for deeply nested control
2 parents 7d0a7e1 + bd94ae3 commit 98c415f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

projects/ng-bootstrap-form-validation/src/lib/Components/form-group/form-group.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import { ErrorMessage } from "../../Models/error-message";
2323
`
2424
})
2525
export class FormGroupComponent implements OnInit, AfterContentInit {
26-
@ContentChildren(FormControlName)
26+
@ContentChildren(FormControlName, {descendants: true})
2727
FormControlNames: QueryList<FormControlName>;
2828

2929
@Input()

0 commit comments

Comments
 (0)