         guard isEmpty && !isAnimating else {
             return
         }
-        
-        updatePlaceholderLabelColor()
         
         isAnimating = true
         UIView.animate(withDuration: 0.15, animations: { [weak self] in

    
    /// Updates the placeholderLabel attributedText.
    fileprivate func updatePlaceholderLabelColor() {
        guard let v = placeholder else {
            return
        }
        
        placeholderLabel.textColor = isEditing ? placeholderActiveColor : placeholderNormalColor
    }
    
    /// Updates the detailLabel attributedText.
    fileprivate func updateDetailLabelColor() {
        guard let v = detail else {
            return
        }
        
        detailLabel.attributedText = NSAttributedString(string: v, attributes: [NSForegroundColorAttributeName: detailColor])
    }
}


    
    /// The animation for the placeholder when editing ends.
    fileprivate func placeholderEditingDidEndAnimation() {
        updatePlaceholderLabelColor()
        
        guard isPlaceholderAnimated else {
            return
        }
