Closed rnewstead1 closed 8 years ago
Hi @rnewstead1, may be relevant https://github.com/gcanti/tcomb-form/issues/303#issuecomment-189698990
Thanks @gcanti. It looks like tcomb 2.7.0 is included from the templates. I've raised a PR to update this: https://github.com/gcanti/tcomb-form-templates-bootstrap/pull/6.
I'll let you know if this fixed the issue.
Oh wow, you are right. Sorry for the inconvenience
@rnewstead1 just published:
https://github.com/gcanti/tcomb-form-templates-bootstrap/releases/tag/v0.2.0 https://github.com/gcanti/tcomb-form/releases/tag/v0.9.1
should fix this issue
Fixed! Thanks @gcanti
Thanks to you for reporting
I am using:
I am using the boolean example from the tcomb-json-schema playground to render a checkbox.
However the boolean gets rendered as a text input rather than a checkbox.
Code:
Screenshot:
From debugging, it looks like
transform
is correctly identifying the boolean, but I can't work out why this is not getting rendered.Is there some incompatibility between the versions I'm using? I noticed the playground is using an older version of tcomb-json-schema.