Closed ghost closed 5 years ago
I have same problem, this is my current solution. Hope it helps.
class CustomTextField: SkyFloatingLabelTextField {
private var _titleFormatter: (String) -> String = { (text: String) -> String in
return text
}
override var titleFormatter: ((String) -> String) {
get {
return _titleFormatter
}
set {
}
}
}
Opp! Great! it is working well. Thank you so much bro!
Report
What did you do?
ℹ Please replace this with what you did.
I added placeholder and title as "UserName" after inputting text data, the title is showing as "USER NAME".
ℹ Please replace this with what you expected to happen.
How can use the original one without changing to Uppercase.
ℹ Please replace this with of what happened instead.
Environment
ℹ Please fill in this section with information about your environment
Xcode Version: 10.1 SkyFloatingLabelTextField Version: 3.6.0 Deployment Target: 9.0 Base SDK: Method of Integration: CocoaPods | Carthage | Manual
Project that demonstrates the issue
ℹ Please link to a project we can download that reproduces the issue if applicable.