Skip to content

Commit 35094a0

Browse files
committed
fix(time-picker): Adding igxTimeSelection to template, #6827
1 parent 048301c commit 35094a0

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

projects/igniteui-angular/src/lib/time-picker/time-picker.component.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
[focusedValuePipe]="inputFormat"
1515
[promptChar]="promptChar"
1616
[value]="displayValue"
17+
[igxTextSelection]="true"
1718
(input)="onInput($event)"
1819
(blur)="onBlur($event)"
1920
(focus)="onFocus($event)"

projects/igniteui-angular/src/lib/time-picker/time-picker.component.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,8 @@ import { ITimePickerResourceStrings } from '../core/i18n/time-picker-resources';
5050
import { CurrentResourceStrings } from '../core/i18n/resources';
5151
import { KEYS, CancelableBrowserEventArgs, IBaseEventArgs } from '../core/utils';
5252
import { InteractionMode } from '../core/enums';
53+
import { IgxTextSelectionModule} from '../directives/text-selection/text-selection.directive';
54+
5355

5456
let NEXT_ID = 0;
5557
const ITEMS_COUNT = 7;
@@ -2173,7 +2175,8 @@ export class IgxTimePickerComponent implements
21732175
IgxIconModule,
21742176
IgxButtonModule,
21752177
IgxMaskModule,
2176-
IgxToggleModule
2178+
IgxToggleModule,
2179+
IgxTextSelectionModule
21772180
],
21782181
providers: []
21792182
})

0 commit comments

Comments
 (0)