Commit 30bbe256 by Daniel Dahan

development: issue-568: fixed issue where setting text to nil breaks the TextField

parent a0ec4fa2
...@@ -142,22 +142,6 @@ open class TextField: UITextField { ...@@ -142,22 +142,6 @@ open class TextField: UITextField {
} }
} }
/// TextField's text property observer.
@IBInspectable
open override var text: String? {
didSet {
guard isEmpty else {
return
}
guard !isFirstResponder else {
return
}
placeholderEditingDidEndAnimation()
}
}
/// The placeholderLabel text value. /// The placeholderLabel text value.
@IBInspectable @IBInspectable
open override var placeholder: String? { open override var placeholder: String? {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment