Commit f4529f73 by M. Porooshani

Fixes Hide title label for text field

parent f8fde490
......@@ -370,6 +370,11 @@ public class TextField : UITextField {
@IBInspectable public override var text: String? {
didSet {
textFieldDidChange()
if(!editing){
if text == nil || text!.isEmpty {
hideTitleLabel()
}
}
}
}
......
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