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';
17
17
export class FabBaseTextFieldComponent extends ReactWrapperComponent < ITextFieldProps > implements OnInit {
18
18
@ViewChild ( 'reactNode' ) protected reactNodeRef : ElementRef ;
19
19
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
+
20
31
@Input ( ) componentRef ?: ITextFieldProps [ 'componentRef' ] ;
21
32
@Input ( ) multiline ?: ITextFieldProps [ 'multiline' ] ;
22
33
@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';
10
10
template : `
11
11
<MaskedTextField
12
12
#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"
13
23
[componentRef]="componentRef"
14
24
[multiline]="multiline"
15
25
[resizable]="resizable"
Original file line number Diff line number Diff line change @@ -10,6 +10,16 @@ import { FabBaseTextFieldComponent } from './base-text-field.component';
10
10
template : `
11
11
<TextField
12
12
#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"
13
23
[componentRef]="componentRef"
14
24
[multiline]="multiline"
15
25
[resizable]="resizable"
You can’t perform that action at this time.
0 commit comments