Skip to content

Conversation

@lukaszosiennik
Copy link

Preparator Feature, it could be useful I think. How it works? Before validation of UITextField, text could be additionally prepared, e.g. text trimming could be performed (preparator implemented in this PR), any prefix text could be added before original text, some chars could be removed from the original text, and so on. I hope you will find that useful.

@jpotts18
Copy link
Collaborator

jpotts18 commented Feb 4, 2016

I like this idea and I can see it being useful. I saw validator.js is doing something similar but they are calling them sanitizers. I think we would need the following before this becomes a feature.

  1. Tests
  2. Update to the Readme
  3. More Examples of why this is useful. I think implementing a couple form the [Sanitizers] section could help people understand the purpose.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants