Commit 3bd82b7b by Daniel Dahan

issue-316: Fixed issue where TextField placeholder could be updated while a text value exists.

parent 5ff5bf7f
......@@ -379,6 +379,7 @@ public class TextField : UITextField {
if let v: String = placeholder {
attributedPlaceholder = NSAttributedString(string: v, attributes: [NSForegroundColorAttributeName: placeholderTextColor])
}
placeholderText = placeholder
}
}
......
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