Skip to content

Commit 7e660e9

Browse files
authored
add missing placeholder input in text field (#67)
1 parent 1c42f21 commit 7e660e9

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

libs/fabric/src/lib/components/text-field/base-text-field.component.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ export class FabBaseTextFieldComponent extends ReactWrapperComponent<ITextFieldP
1818
@ViewChild('reactNode') protected reactNodeRef: ElementRef;
1919

2020
@Input() required?: ITextFieldProps['required'];
21+
@Input() placeholder?: ITextFieldProps['placeholder'];
2122
@Input() type?: ITextFieldProps['type'];
2223
@Input() cols?: ITextFieldProps['cols'];
2324
@Input() colSpan?: ITextFieldProps['colSpan'];

libs/fabric/src/lib/components/text-field/masked-text-field.component.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ import { FabBaseTextFieldComponent } from './base-text-field.component';
1111
<MaskedTextField
1212
#reactNode
1313
[required]="required"
14+
[placeholder]="placeholder"
1415
[type]="type"
1516
[cols]="cols"
1617
[colSpan]="colSpan"

libs/fabric/src/lib/components/text-field/text-field.component.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ import { FabBaseTextFieldComponent } from './base-text-field.component';
1111
<TextField
1212
#reactNode
1313
[required]="required"
14+
[placeholder]="placeholder"
1415
[type]="type"
1516
[cols]="cols"
1617
[colSpan]="colSpan"

0 commit comments

Comments
 (0)