From 63544cad264ec826f514fab4fbd25d0ad44e0c3e Mon Sep 17 00:00:00 2001 From: gcanti Date: Wed, 16 Sep 2015 14:40:19 +0200 Subject: [PATCH] v0.6.6 --- CHANGELOG.md | 5 +++++ GUIDE.md | 11 +++++++++++ package.json | 2 +- 3 files changed, 17 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 56058f8..9de608b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,11 @@ **Note**: Gaps between patch versions are faulty/broken releases. +## v0.6.6 + +- **Bug Fix** + - Add className to locals of Struct and List (thanks @jsor) + ## v0.6.5 (backport from 0.7.1) - **Internal** diff --git a/GUIDE.md b/GUIDE.md index c050433..a6fde4c 100644 --- a/GUIDE.md +++ b/GUIDE.md @@ -484,6 +484,16 @@ var options = { }; ``` +### Style + +You can customise the style with the `className` option + +```js +var options = { + className: 'mystyle' +}; +``` + ### Fields order You can sort the fields with the `order` option: @@ -591,6 +601,7 @@ var options = { The following options are similar to the Struct ones: - `auto` +- `className` - `disabled` - `help` - `hasError` diff --git a/package.json b/package.json index 4988e1c..6a6d0bf 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "tcomb-form", - "version": "0.6.5", + "version": "0.6.6", "description": "React.js powered UI library for developing forms writing less code", "main": "index.js", "scripts": {