From 620fb1e43bec6b831433941dc7b86c19f35b85c2 Mon Sep 17 00:00:00 2001 From: Matt Bruce Date: Tue, 26 Mar 2024 12:48:08 -0500 Subject: [PATCH] udpated logic Signed-off-by: Matt Bruce --- VDS/Components/TextFields/TextArea/TextArea.swift | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/VDS/Components/TextFields/TextArea/TextArea.swift b/VDS/Components/TextFields/TextArea/TextArea.swift index 57222496..b5fada0c 100644 --- a/VDS/Components/TextFields/TextArea/TextArea.swift +++ b/VDS/Components/TextFields/TextArea/TextArea.swift @@ -206,13 +206,8 @@ open class TextArea: EntryFieldBase { widthConstraint?.isActive = false minWidthConstraint?.isActive = true } - - let characterError = getCharacterCounterText() - if let maxLength, maxLength > 0 { - characterCounterLabel.text = characterError - } else { - characterCounterLabel.text = "" - } + + characterCounterLabel.text = getCharacterCounterText() icon.size = .medium icon.color = iconColorConfiguration.getColor(self)