3lvis / formtextfield Goto Github PK
View Code? Open in Web Editor NEWUITextField with support for formatters and input validators
License: Other
UITextField with support for formatters and input validators
License: Other
any update for Swift 4?
Hello there and great work !
Any chance to see SPM support anytime soon ? It would be a great addition.
It's my last dep still on CocoaPods in my current project ๐
As soon as I set the delegate for my first field firstNameTextField.delegate = self
I lose the activeBorderColor. As soon as I uncomment the delegate it appears again. ideas ?
I want to limit the length of characters in the input box.
My main code is as follows. However, when inputting Chinese characters, only the first character can be input into Chinese. There is no way to input Chinese later. I tried to record a video. Can you tell me what the problem is?
System Ver. iOS 13
var validation = Validation()
validation.minimumLength = minLength
validation.maximumLength = maxLength
titleTextField.inputValidator = InputValidator(validation: validation)
Hello Dev
I am using your pod in my project with versions of 3.0.0. There is an issue like user unable to delete card expiry date from backspace key. but in your demo project its working fine.
I think you need to push your latest pod on the cocoapods with updated versions for these classes.
So that I can update the latest pods in my project pod file. :)
You are doing nice work. Keep it up.
Thanks
Hi,
unable to delete card expiry date from backspace key.
I am using your pod in my project with versions of 3.0.0. There is an issue like the user unable to delete the card expiry date from the backspace key.
Issues with FormTextFieldClearButton
How do I update the validator so as to accept MM/YYYY format dates for Card Expiry Dates?
The link to the formatters documentation gives a 404
Here is the log cat that Xcode is showing up. Could you give any advices?
let index = composedString.characters.index(composedString.startIndex, offsetBy: range.location)
Right now calling validate
in the middle of typing makes the field red if not valid.
Could test:
Error in action:selector
Ambiguous reference to member 'Validation'
Seems like interference with Alamofire with have Validation too.
Renaming struct 'Validation' to 'ValidationRules' resolving namespace problem.
http://joxi.ru/D2PYppPTqR33JA.jpg
Swift 4
A typical credit card number (i.e. Mastercard) looks like this:
5555 5555 5555 4444
and an American Express card looks like
3782 822463 10005
Using the Default CardNumberFormatter
, American Express cards are invalid. Can we get some sort of formatter that can be used with both?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.