Closed hhumphrey84 closed 9 years ago
Just tried your code and it works for me. Could you please post which version of react and tcomb-form you are using and the exact error message?
Thanks for your swift reply, I'm using version 0.13.3 of react and 0.7.1 of tcomb-form.
On Mon, Sep 14, 2015 at 6:12 PM, Giulio Canti notifications@github.com wrote:
Just tried your code and it works for me. Could you please post which version of react and tcomb-form you are using and the exact error message?
— Reply to this email directly or view it on GitHub https://github.com/gcanti/tcomb-form/issues/199#issuecomment-140147341.
Ok then I think the problem could be a double import of the react library: tcomb-form v0.7.1 requires react v0.14.0-rc1 while you are using react 0.13.3. Probably you are importing 2 different copies of react. Try to install tcomb-form v0.6.4 which is compatible with react 0.13.3
Worked a charm. Thank you! I knew it would be simple and now I get to have fun with your great library. Thanks again
On Mon, Sep 14, 2015 at 9:06 PM, Giulio Canti notifications@github.com wrote:
Ok then I think the problem could be a double import of the react library: tcomb-form v0.7.1 requires react v0.14.0-rc1 while you are using react 0.13.3. Probably you are importing 2 different copies of react. Try to install tcomb-form v0.6.4 which is compatible with react 0.13.3
— Reply to this email directly or view it on GitHub https://github.com/gcanti/tcomb-form/issues/199#issuecomment-140191456.
Great. Happy hacking :+1:
@gcanti Great! It works :) thanks
I've created a simple test in my app in an attempt to start using tcomb-form to handle my forms and I'm coming against an error:
Error: Invariant Violation: Form.render()
My code is as below:
Any ideas as to what might be happening / what I've done wrong?
Thanks, Helen