File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
projects/igniteui-angular/src/lib/time-picker Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -507,10 +507,10 @@ export class IgxTimePickerComponent implements
507
507
@ViewChild ( IgxInputDirective , { read : ElementRef } )
508
508
private _inputElementRef : ElementRef ;
509
509
510
- @ViewChild ( IgxInputDirective , { read : IgxInputDirective } )
510
+ @ViewChild ( IgxInputDirective , { read : IgxInputDirective } )
511
511
private _inputDirective : IgxInputDirective ;
512
512
513
- @ContentChild ( IgxInputDirective , { read : IgxInputDirective } )
513
+ @ContentChild ( IgxInputDirective , { read : IgxInputDirective } )
514
514
private _inputDirectiveUserTemplate : IgxInputDirective ;
515
515
516
516
@ViewChild ( IgxInputGroupComponent , { read : IgxInputGroupComponent } )
@@ -1271,7 +1271,7 @@ export class IgxTimePickerComponent implements
1271
1271
public convertMinMaxValue ( value : string ) : Date {
1272
1272
if ( ! value ) {
1273
1273
return ;
1274
- } else {
1274
+ }
1275
1275
const date = this . value ? new Date ( this . value ) : this . _dateFromModel ? new Date ( this . _dateFromModel ) : new Date ( ) ;
1276
1276
const sections = value . split ( / [ \s : ] + / ) ;
1277
1277
let hour , minutes , seconds , amPM ;
@@ -1312,7 +1312,6 @@ export class IgxTimePickerComponent implements
1312
1312
1313
1313
return date ;
1314
1314
}
1315
- }
1316
1315
1317
1316
private _isValueValid ( value : Date ) : boolean {
1318
1317
if ( this . maxValue && value > this . convertMinMaxValue ( this . maxValue ) ) {
You can’t perform that action at this time.
0 commit comments