 
 import Foundation
 
-class PickerInputTextField: UITextField {
-    override func caretRect(for position: UITextPosition) -> CGRect {
-        return CGRect.zero
-    }
-}
-
 //MARK: PickerInputCell
 
-open class PickerInputCell<T> : _FieldCell<T>, CellType, UIPickerViewDataSource, UIPickerViewDelegate where T: InputTypeInitiable, T: Equatable {
+open class PickerInputCell<T: Equatable> : Cell<T>, CellType, UIPickerViewDataSource, UIPickerViewDelegate where T: Equatable, T: InputTypeInitiable {
     
     public var picker: UIPickerView
     

        return pickerInputRow?.displayValueFor?(pickerInputRow?.options[row])
    }
    
    open func pickerView(_ pickerView: UIPickerView, didSelectRow row: Int, inComponent component: Int) {
        if let picker = pickerInputRow, !picker.options.isEmpty {
            picker.value = picker.options[row]
            if picker.value != nil {
                textField.text = "\(picker.value!)"
            }
        }
    }


//MARK: PickerInputRow

open class _PickerInputRow<T> : Row<PickerInputCell<T>>, NoValueDisplayTextConformance where T: Equatable, T: InputTypeInitiable {
    open var noValueDisplayText: String? = nil
    
    open var options = [T]()
    
    required public init(tag: String?) {
        super.init(tag: tag)
        
    }
}

