Skip to content

Commit 263f047

Browse files
committed
feat(input): add the input directives to content projection query
Signed-off-by: deku-nattsu <aymenbeta@gmail.com>
1 parent 8a1969d commit 263f047

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/input/text-input-label.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ import {
6262
</svg>
6363
<ng-template *ngIf="textInputTemplate; else textInputContent" [ngTemplateOutlet]="textInputTemplate"></ng-template>
6464
<ng-template #textInputContent>
65-
<ng-content select="input[type=text],div"></ng-content>
65+
<ng-content select="[cdsText],[ibmText],input[type=text],div"></ng-content>
6666
</ng-template>
6767
</div>
6868
<div

src/input/textarea-label.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ import { TextArea } from "./text-area.directive";
6565
</svg>
6666
<ng-template *ngIf="textAreaTemplate; else textAreaContent" [ngTemplateOutlet]="textAreaTemplate"></ng-template>
6767
<ng-template #textAreaContent>
68-
<ng-content select="textarea"></ng-content>
68+
<ng-content select="[cdsTextArea],[ibmTextArea],textarea"></ng-content>
6969
</ng-template>
7070
</div>
7171
<div

0 commit comments

Comments
 (0)