SkyFloatingLabelTextField
SkyFloatingLabelTextField copied to clipboard
Wrong validation example.
Hello,
are you guys aware that the validation example you show under Error state and delegates
has little flaw? You validate the text of the textfield before the actual text change and not after the text change. So basically your validation is always one char behind what actual going on in the textfield.
Anyways, keep up the good work! Stefan
I'll have a look at this at some point, but if you wanna send a PR after we merge the Swift 3 branch in #67 that'd be awesome
I Have a Problem as well with validation. In my case i have put a validation in one of my skyFloatingLabelTextfield so that the entered text must be at least 5 character long. The Validation is Working fine as expected for the first time , but However, if i delete a character it is still showing the field as correct one. i'd like to immediately show error on this field as soon as the character is deleted. I'm doing the validation using the delegate method as shown in example.