diff --git a/projects/demo/src/components/control/index.html b/projects/demo/src/components/control/index.html
index 6bd35469b4b6a..abc4ad3d96d17 100644
--- a/projects/demo/src/components/control/index.html
+++ b/projects/demo/src/components/control/index.html
@@ -1,14 +1,14 @@
- ControlOptions
+ Control
Applied as a host directive
|
- Disabled state
+ Disabled state (use
+ control.disable()/.enable()
+ for reactive forms)
Invalid state
diff --git a/projects/demo/src/components/control/index.ts b/projects/demo/src/components/control/index.ts
index 3a593d2ed91e3..1b63744c0cbc2 100644
--- a/projects/demo/src/components/control/index.ts
+++ b/projects/demo/src/components/control/index.ts
@@ -1,6 +1,5 @@
import {NgIf} from '@angular/common';
import {ChangeDetectionStrategy, Component, Input} from '@angular/core';
-import type {AbstractControl} from '@angular/forms';
import {DemoRoute} from '@demo/routes';
import {TuiDocAPIItem} from '@taiga-ui/addon-doc';
import type {TuiLooseUnion} from '@taiga-ui/cdk';
@@ -17,9 +16,9 @@ export class TuiDocControl {
protected readonly routes = DemoRoute;
@Input()
- public hiddenOptions: Array> = [];
+ public hiddenOptions: Array> = [];
public readonly = false;
public disabled = false;
- public invalid = false;
+ public invalid: boolean | null = null;
}
diff --git a/projects/demo/src/components/textfield/index.ts b/projects/demo/src/components/textfield/index.ts
index 7e3127bfe9486..ebb29f0521e08 100644
--- a/projects/demo/src/components/textfield/index.ts
+++ b/projects/demo/src/components/textfield/index.ts
@@ -1,6 +1,5 @@
import {NgIf} from '@angular/common';
import {ChangeDetectionStrategy, Component, inject, Input} from '@angular/core';
-import {DemoRoute} from '@demo/routes';
import {TuiDocAPIItem} from '@taiga-ui/addon-doc';
import type {TuiLooseUnion} from '@taiga-ui/cdk';
import type {TuiSizeL, TuiSizeS, TuiTextfieldOptions} from '@taiga-ui/core';
@@ -16,8 +15,6 @@ import {TUI_TEXTFIELD_OPTIONS, TuiTitle} from '@taiga-ui/core';
export class TuiDocTextfield {
private readonly options = inject(TUI_TEXTFIELD_OPTIONS);
- protected readonly routes = DemoRoute;
-
protected readonly sizeVariants: ReadonlyArray = ['s', 'm', 'l'];
@Input()
diff --git a/projects/demo/src/modules/components/textfield/index.html b/projects/demo/src/modules/components/textfield/index.html
index def26d528cb5e..78e69c026cc44 100644
--- a/projects/demo/src/modules/components/textfield/index.html
+++ b/projects/demo/src/modules/components/textfield/index.html
@@ -48,7 +48,7 @@
type="string"
[(value)]="value"
>
- Value
+ Value (or reactive control directives)
|