From 911ae28bc31aea265aa3997fbfa5c9faafcb9583 Mon Sep 17 00:00:00 2001 From: Maksim Ivanov Date: Mon, 27 May 2024 17:01:09 +0300 Subject: [PATCH] fix(kit): collision with input-date-multi (#7554) --- projects/kit/components/input-date/input-date.component.ts | 2 +- projects/kit/components/input-date/input-date.directive.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/projects/kit/components/input-date/input-date.component.ts b/projects/kit/components/input-date/input-date.component.ts index 8b90789a2376..3534f2e3e618 100644 --- a/projects/kit/components/input-date/input-date.component.ts +++ b/projects/kit/components/input-date/input-date.component.ts @@ -63,7 +63,7 @@ import {Observable} from 'rxjs'; import {map} from 'rxjs/operators'; @Component({ - selector: 'tui-input-date', + selector: 'tui-input-date:not([multiple])', templateUrl: './input-date.template.html', styleUrls: ['./input-date.style.less'], changeDetection: ChangeDetectionStrategy.OnPush, diff --git a/projects/kit/components/input-date/input-date.directive.ts b/projects/kit/components/input-date/input-date.directive.ts index ad7b5b29154b..f1137890b3e5 100644 --- a/projects/kit/components/input-date/input-date.directive.ts +++ b/projects/kit/components/input-date/input-date.directive.ts @@ -5,7 +5,7 @@ import {AbstractTuiTextfieldHost, tuiAsTextfieldHost} from '@taiga-ui/core'; import {TuiInputDateComponent} from './input-date.component'; @Directive({ - selector: 'tui-input-date', + selector: 'tui-input-date:not([multiple])', providers: [tuiAsTextfieldHost(TuiInputDateDirective)], }) export class TuiInputDateDirective extends AbstractTuiTextfieldHost {