Open alexeybolv opened 3 years ago
@alexeybolv It shows the same behaviour for me as well but looks like it is an issue with the OS. Check this for a solution which worked for me, if may be it could help you as well.
@ami-aman thank you, this workaround works for me! Hope, it will be fixed in next iOS versions.
Report
What did you do?
ℹ I have added latest version and try to use textfield with validation and have problems with error colors.
What did you expect to happen?
Expect to have error color on title and text.
What happened instead?
Only title was colored with error color, but text has black color. It looks like different symbols, eg. "@" "," "." break some logic with colors.
Environment
ℹ Please fill in this section with information about your environment
Xcode Version: 13.1 SkyFloatingLabelTextField Version: 4.0 Deployment Target: iOS 15+ Base SDK: Method of Integration: CocoaPods
Project that demonstrates the issue
ℹ Please link to a project we can download that reproduces the issue if applicable.
Here is small video that shows wrong behaviour. https://user-images.githubusercontent.com/14241858/142494756-d89314b8-6d9e-436e-b061-984ac865432d.mov
Here is the code, where I change error message, there is no other code that work with textfield.