diff --git a/projects/demo/src/app/pages/starter/editor-starter.component.ts b/projects/demo/src/app/pages/starter/editor-starter.component.ts index 6b46aa70c..651cc4cb6 100644 --- a/projects/demo/src/app/pages/starter/editor-starter.component.ts +++ b/projects/demo/src/app/pages/starter/editor-starter.component.ts @@ -59,8 +59,8 @@ export class TuiEditorStarterPageComponent { `); exampleText = ''; - minHeight: number | null = null; - maxHeight: number | null = null; + minHeight = ''; + maxHeight = ''; readOnly = false; focusable = true; floating = false; diff --git a/projects/demo/src/app/pages/starter/editor-starter.template.html b/projects/demo/src/app/pages/starter/editor-starter.template.html index c1bab0477..9fdb4d6ef 100644 --- a/projects/demo/src/app/pages/starter/editor-starter.template.html +++ b/projects/demo/src/app/pages/starter/editor-starter.template.html @@ -13,8 +13,8 @@ [pseudoHover]="pseudoHovered" [pseudoInvalid]="pseudoInvalid" [readOnly]="readOnly" - [style.max-height.px]="maxHeight" - [style.min-height.px]="minHeight" + [style.max-height]="maxHeight" + [style.min-height]="minHeight" [tools]="tools" [tuiAutoFocus]="!isE2E" > @@ -90,12 +90,10 @@