From e0aac049cbbb931e60278c21c168cbf1e51693a7 Mon Sep 17 00:00:00 2001 From: Vladimir Potekhin <46284632+vladimirpotekhin@users.noreply.github.com> Date: Thu, 17 Oct 2024 14:51:21 +0300 Subject: [PATCH] fix(legacy): `InputNumber` fix hydration (#9434) --- .../primitive-textfield/primitive-textfield.style.less | 4 ++++ .../primitive-textfield/primitive-textfield.template.html | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/projects/legacy/components/primitive-textfield/primitive-textfield.style.less b/projects/legacy/components/primitive-textfield/primitive-textfield.style.less index d621a7c73825..0f8bd108294e 100644 --- a/projects/legacy/components/primitive-textfield/primitive-textfield.style.less +++ b/projects/legacy/components/primitive-textfield/primitive-textfield.style.less @@ -51,6 +51,10 @@ pointer-events: none; padding-inline-end: 0; } + + &_template_hidden { + display: none; + } } .t-text-template { diff --git a/projects/legacy/components/primitive-textfield/primitive-textfield.template.html b/projects/legacy/components/primitive-textfield/primitive-textfield.template.html index e97af252d201..f075a4f868b0 100644 --- a/projects/legacy/components/primitive-textfield/primitive-textfield.template.html +++ b/projects/legacy/components/primitive-textfield/primitive-textfield.template.html @@ -31,9 +31,9 @@ (ngModelChange)="onModelChange($event)" />