From e816649783a578b263493d26e5e695ad428978f5 Mon Sep 17 00:00:00 2001 From: mdlufy Date: Tue, 26 Nov 2024 19:53:42 +0300 Subject: [PATCH] chore(demo): `InputDateTime` remove redudant description --- .../legacy/input-date-time/input-date-time.pw.spec.ts | 1 + .../src/modules/components/input-date-time/index.html | 9 +-------- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/projects/demo-playwright/tests/legacy/input-date-time/input-date-time.pw.spec.ts b/projects/demo-playwright/tests/legacy/input-date-time/input-date-time.pw.spec.ts index 7ebcaed02991..5cee26a4346f 100644 --- a/projects/demo-playwright/tests/legacy/input-date-time/input-date-time.pw.spec.ts +++ b/projects/demo-playwright/tests/legacy/input-date-time/input-date-time.pw.spec.ts @@ -337,6 +337,7 @@ test.describe('InputDateTime', () => { await inputDateTime.textfield.fill('11'); await inputDateTime.textfield.blur(); + // allow animations to capture tui-error validation message on screenshot await expect(example).toHaveScreenshot( '04-input-data-time-with-validator.png', {animations: 'allow'}, 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 46b29aad3486..7b4951cb218c 100644 --- a/projects/demo/src/modules/components/input-date-time/index.html +++ b/projects/demo/src/modules/components/input-date-time/index.html @@ -121,14 +121,7 @@

DI-tokens for input-configurations:

heading="With validator" [component]="7 | tuiComponent" [content]="7 | tuiExample: 'html,ts'" - [description]="withValidatorDescription" - > - - Create custom validator function to verify input value. Custom - completeDateTimeValidator - using to check if data is complete - - + >