     /// The text value of the text field. Updates the position of the placeholder.
     open override var text: String? {
         didSet {
-            placeholderConstraints.clearHorizontalConstraints()
-            setNeedsUpdateConstraints()
-            
+            setNeedsUpdateHorizontalPlaceholderConstraints()
             updatePlaceholderTransform(animated: true)
         }
     }

    @IBInspectable open var verticalTextPadding: CGFloat = 0.0 {
        didSet {
            invalidateIntrinsicContentSize()
            placeholderConstraints.clearVerticalConstraints()
            setNeedsUpdateConstraints()
        }
    }
    

            placeholderScaleWhenEditing = max(0.0, placeholderScaleWhenEditing)
            
            invalidateIntrinsicContentSize()
            setNeedsUpdateVerticalPlaceholderConstraints()
        }
    }
    
