From 5febed5e84da7c3d1a025fbff35233cad2edcc9c Mon Sep 17 00:00:00 2001 From: mdlufy Date: Fri, 27 Sep 2024 18:24:36 +0300 Subject: [PATCH] chore(demo): `Dropdown` reuse component remove useless input `tuiDocDropdown` --- projects/demo/src/components/dropdown/index.ts | 3 --- projects/demo/src/modules/directives/dropdown/index.html | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/projects/demo/src/components/dropdown/index.ts b/projects/demo/src/components/dropdown/index.ts index af742453b18b..d49e9f53d750 100644 --- a/projects/demo/src/components/dropdown/index.ts +++ b/projects/demo/src/components/dropdown/index.ts @@ -35,9 +35,6 @@ export class TuiDocDropdown { 'fixed', ]; - @Input() - public tuiDocDropdown: readonly string[] | '' = ''; - @Input() public hiddenOptions: Array> = []; diff --git a/projects/demo/src/modules/directives/dropdown/index.html b/projects/demo/src/modules/directives/dropdown/index.html index eba1fe0504da..34391604596a 100644 --- a/projects/demo/src/modules/directives/dropdown/index.html +++ b/projects/demo/src/modules/directives/dropdown/index.html @@ -52,7 +52,7 @@ [tuiDropdownAlign]="dropdown.align" [tuiDropdownDirection]="dropdown.direction" [tuiDropdownLimitWidth]="dropdown.limitWidth" - [tuiDropdownManual]="dropdown.open" + [tuiDropdownManual]="open" [tuiDropdownMaxHeight]="dropdown.maxHeight" [tuiDropdownMinHeight]="dropdown.minHeight" [tuiDropdownOffset]="dropdown.offset"