Skip to content

Conversation

@sparrowlegs
Copy link
Contributor

Summary

This fixes ValidatorTextField and ValidatorTextView to behave correctly when the shouldAllowViolation property is set to true.

This also changes ValidatorTextField and ValidatorTextView to initialize with a default of false for the shouldAllowViolation property. Doing this better matches the intent of the documentation.

See issue #43 for more detail.

@codecov-io
Copy link

Current coverage is 54.94% (diff: 0.00%)

Merging #44 into master will increase coverage by 7.03%

@@             master        #44   diff @@
==========================================
  Files            35         35          
  Lines           526        526          
  Methods           0          0          
  Messages          0          0          
  Branches          0          0          
==========================================
+ Hits            252        289    +37   
+ Misses          274        237    -37   
  Partials          0          0          

Powered by Codecov. Last update 706f322...d254a24

@ghost
Copy link

ghost commented Jan 19, 2017

Sorry it's taken me a while to review this @sparrowlegs ! I hope to get to it in the next few days.

@ghost ghost self-requested a review January 19, 2017 07:44
@sparrowlegs
Copy link
Contributor Author

sparrowlegs commented Jan 19, 2017

@aamctustwo It's cool. Thanks for responding. I was worried that PR didn't follow your coding conventions.

Copy link

@ghost ghost left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work!

@ghost ghost merged commit 70cc011 into ustwo:master Jan 20, 2017
ghost pushed a commit that referenced this pull request Jan 20, 2017
Update the new validator controls to fix #43 that was fixed on Master
in #44.
@ghost ghost mentioned this pull request Jan 20, 2017
This pull request was closed.
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