     private func updateUnderlines() {
         for label in labels {
             let index = labels.index(of: label) ?? 0
-            if isPlaceholder(index) {
+            if (!highlightInputUnderline || !isInput(index)) && isPlaceholder(index) {
                    underlines[index].backgroundColor = underlineColor
             }
             else{

    public var autocorrectionType: UITextAutocorrectionType = UITextAutocorrectionType.no
    public var font: UIFont = UIFont.systemFont(ofSize: 14)
    public var allowedCharacterSet: CharacterSet = CharacterSet.alphanumerics
    
    private var _inputView: UIView?
    open override var inputView: UIView? {

    private func isPlaceholder(_ i: Int) -> Bool {
        let inputTextCount = text?.count ?? 0
        return i >= inputTextCount
    }
    
    private func isInput(_ i: Int) -> Bool {
        let inputTextCount = text?.count ?? 0
        return i == inputTextCount
    }
    
    private func createLabel() -> UILabel {
