Skip to content

Commit

Permalink
fix(legacy): InputTime has broken support of native date picker (#9540
Browse files Browse the repository at this point in the history
)
  • Loading branch information
nsbarsukov authored Oct 18, 2024
1 parent 968e417 commit 049b289
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
import {ChangeDetectionStrategy, Component, inject} from '@angular/core';
import {tuiInjectId} from '@taiga-ui/cdk/services';
import {TUI_TEXTFIELD_HOST} from '@taiga-ui/legacy/tokens';

import type {TuiInputTimeDirective} from '../input-time.directive';
import {TuiInputTimeDirective} from '../input-time.directive';

@Component({
standalone: false,
Expand Down Expand Up @@ -32,7 +31,7 @@ import type {TuiInputTimeDirective} from '../input-time.directive';
},
})
export class TuiNativeTimeComponent {
protected readonly host = inject<TuiInputTimeDirective>(TUI_TEXTFIELD_HOST);
protected readonly host = inject(TuiInputTimeDirective);

protected readonly autoId = tuiInjectId();

Expand Down

0 comments on commit 049b289

Please sign in to comment.