Setting CharacterLimit not working from code
Opened this issue · 3 comments
jerryOkafor commented
Please I have this code snippet and I don't know why it is not working:
let pincodeView = PinCodeTextField()
pincodeView.isSecureTextEntry = true
pincodeView.characterLimit = 4
$0.addSubview(pincodeView)
jerryOkafor commented
I observed that when using this class in code, setting the characterLimit property does not determine the number of underlines drawn for the input field.
jerryOkafor commented
PincodeTextFiled always draw 5 underline not minding whatever value you set as the characterLimit. Is this supposed to be so?
RomanPodymov commented
Hello @jerryOkafor
What PinCodeTextField's version do you use?