diff --git a/projects/demo/src/modules/components/input-date-time/examples/7/index.html b/projects/demo/src/modules/components/input-date-time/examples/7/index.html index a2c088c3aa5a..83afe0780b02 100644 --- a/projects/demo/src/modules/components/input-date-time/examples/7/index.html +++ b/projects/demo/src/modules/components/input-date-time/examples/7/index.html @@ -2,7 +2,7 @@ +/>

Form value:

diff --git a/projects/demo/src/modules/components/input-date-time/examples/7/index.ts b/projects/demo/src/modules/components/input-date-time/examples/7/index.ts index 492cd68ca41d..722e445a5fd6 100644 --- a/projects/demo/src/modules/components/input-date-time/examples/7/index.ts +++ b/projects/demo/src/modules/components/input-date-time/examples/7/index.ts @@ -1,12 +1,7 @@ import {AsyncPipe, JsonPipe} from '@angular/common'; import {Component} from '@angular/core'; -import { - AbstractControl, - FormControl, - ReactiveFormsModule, - type ValidationErrors, - type ValidatorFn, -} from '@angular/forms'; +import type {AbstractControl, ValidationErrors, ValidatorFn} from '@angular/forms'; +import {FormControl, ReactiveFormsModule} from '@angular/forms'; import {changeDetection} from '@demo/emulate/change-detection'; import {encapsulation} from '@demo/emulate/encapsulation'; import {TuiDay} from '@taiga-ui/cdk'; @@ -25,9 +20,9 @@ const completeDateTimeValidator: ValidatorFn = ( AsyncPipe, JsonPipe, ReactiveFormsModule, - TuiInputDateTimeModule, TuiError, TuiFieldErrorPipe, + TuiInputDateTimeModule, ], templateUrl: './index.html', encapsulation, diff --git a/projects/demo/src/modules/components/input-date-time/index.html b/projects/demo/src/modules/components/input-date-time/index.html index 7b4951cb218c..56c8e17cbe27 100644 --- a/projects/demo/src/modules/components/input-date-time/index.html +++ b/projects/demo/src/modules/components/input-date-time/index.html @@ -121,7 +121,7 @@

DI-tokens for input-configurations:

heading="With validator" [component]="7 | tuiComponent" [content]="7 | tuiExample: 'html,ts'" - > + />