Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(legacy): InputTime has broken support of native date picker #9540

Merged
merged 1 commit into from
Oct 18, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading