Clint Ayres

Results 99 comments of Clint Ayres

Can you paste a simple example so i can see your approach? On May 21, 2015 10:52 AM, "Frank van Heeswijk" [email protected] wrote: > @jurassix https://github.com/jurassix I have called this.validate()...

I think you are executing the `customValidate` method instead of returning a bound function. Thy this: ``` javascript function customValidate(field, event) { return function (field, event) { var value =...

Ok I looked at your onChange handler, which you are binding, you should try this instead: ``` javascript function customValidate(field, event) { var value = event.target.value; this.state[field] = value; var...

Your inputs also need a `value={this.state.password}' for each onChange handler. (use the correct field for each input)

It's also not very clear what your doing here? It seems you are updating state directly and then creating a new object, updating it, and wiping out your previous state?...

The way you have written your code, calling `this.validate()' will validate all fields and provide error messages available for your fields correctly to your assumptions..

I do believe the issue to be in your component, I have this library working on many forms. I'm seeing some inconstancies in your code that I'm pointing out above....

Ok I understand. Once you start typing in the password field a error message should appear for confirm. Basically joi ignores the ref and focuses on the required validation on...

I'm not sure I'll be able to support this, but I'll leave the issue open and do some discovery to see if it's possible. On May 21, 2015 2:20 PM,...

@idealistic I can pick this back up. Wasn't sure the priority of this. Thx for the update.