File tree Expand file tree Collapse file tree 3 files changed +31
-0
lines changed
libs/fabric/src/lib/components/text-field Expand file tree Collapse file tree 3 files changed +31
-0
lines changed Original file line number Diff line number Diff line change @@ -17,6 +17,17 @@ import { ITextFieldProps } from 'office-ui-fabric-react/lib/TextField';
1717export class FabBaseTextFieldComponent extends ReactWrapperComponent < ITextFieldProps > implements OnInit {
1818 @ViewChild ( 'reactNode' ) protected reactNodeRef : ElementRef ;
1919
20+ @Input ( ) required ?: ITextFieldProps [ 'required' ] ;
21+ @Input ( ) type ?: ITextFieldProps [ 'type' ] ;
22+ @Input ( ) cols ?: ITextFieldProps [ 'cols' ] ;
23+ @Input ( ) colSpan ?: ITextFieldProps [ 'colSpan' ] ;
24+ @Input ( ) rows ?: ITextFieldProps [ 'rows' ] ;
25+ @Input ( ) rowSpan ?: ITextFieldProps [ 'rowSpan' ] ;
26+ @Input ( ) min ?: ITextFieldProps [ 'min' ] ;
27+ @Input ( ) max ?: ITextFieldProps [ 'max' ] ;
28+ @Input ( ) pattern ?: ITextFieldProps [ 'pattern' ] ;
29+ @Input ( 'for' ) htmlFor ?: ITextFieldProps [ 'htmlFor' ] ;
30+
2031 @Input ( ) componentRef ?: ITextFieldProps [ 'componentRef' ] ;
2132 @Input ( ) multiline ?: ITextFieldProps [ 'multiline' ] ;
2233 @Input ( ) resizable ?: ITextFieldProps [ 'resizable' ] ;
Original file line number Diff line number Diff line change @@ -10,6 +10,16 @@ import { FabBaseTextFieldComponent } from './base-text-field.component';
1010 template : `
1111 <MaskedTextField
1212 #reactNode
13+ [required]="required"
14+ [type]="type"
15+ [cols]="cols"
16+ [colSpan]="colSpan"
17+ [rows]="rows"
18+ [rowSpan]="rowSpan"
19+ [min]="min"
20+ [max]="max"
21+ [pattern]="pattern"
22+ [htmlFor]="htmlFor"
1323 [componentRef]="componentRef"
1424 [multiline]="multiline"
1525 [resizable]="resizable"
Original file line number Diff line number Diff line change @@ -10,6 +10,16 @@ import { FabBaseTextFieldComponent } from './base-text-field.component';
1010 template : `
1111 <TextField
1212 #reactNode
13+ [required]="required"
14+ [type]="type"
15+ [cols]="cols"
16+ [colSpan]="colSpan"
17+ [rows]="rows"
18+ [rowSpan]="rowSpan"
19+ [min]="min"
20+ [max]="max"
21+ [pattern]="pattern"
22+ [htmlFor]="htmlFor"
1323 [componentRef]="componentRef"
1424 [multiline]="multiline"
1525 [resizable]="resizable"
You can’t perform that action at this time.
0 commit comments