Skip to content

add isPartialFormatterEnabled check for PhoneNumberTextField#98

Merged
marmelroy merged 1 commit intomarmelroy:masterfrom
teambition:master
Apr 11, 2017
Merged

add isPartialFormatterEnabled check for PhoneNumberTextField#98
marmelroy merged 1 commit intomarmelroy:masterfrom
teambition:master

Conversation

@hongxinhope
Copy link
Copy Markdown
Contributor

I want to disable and enable PhoneNumberTextField's parsing and changeCharacters behavior frequently, how can I do this?

I connot do this with delegate check:

// allow delegate to intervene
        guard _delegate?.textField?(textField, shouldChangeCharactersIn: range, replacementString: string) ?? true else {
            return false
        }

Can you accept this pull request, or any other way to do that?

@marmelroy
Copy link
Copy Markdown
Owner

Thanks @hongxinhope and sorry for the delay. Merged.

@marmelroy marmelroy merged commit 9bc0f89 into marmelroy:master Apr 11, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants