Closed hassan31 closed 3 years ago
You need to set titleFormatter
. The default implementation makes the title uppercase. If you want the title to remain unchanged when it floats up from the placeholder, you can do:
skyTextField.titleFormatter = { $0 }
Report
What did you do?
ℹ I'm trying to set the floating placeholder case to lower/capitalized with even attributed placeholder. I'm wondering if it is possible to change the case of floating placeholder text.
What did you expect to happen?
ℹ It should change the case of floating placeholder.
What happened instead?
ℹ All the letters are in upper case of floating label placeholder.
Environment
ℹ All environments
Xcode Version: SkyFloatingLabelTextField Version: Deployment Target: Base SDK: Method of Integration: CocoaPods | Carthage | Manual
Project that demonstrates the issue
ℹ Please see attached screen, it has upper case letters all the way for all floating text fields.