Skip to content
This repository has been archived by the owner on Feb 16, 2021. It is now read-only.

Commit

Permalink
v0.7.2
Browse files Browse the repository at this point in the history
- **Bug Fix**
    - Add className to locals of Struct and List
  • Loading branch information
gcanti committed Sep 16, 2015
1 parent 728e1db commit 8cbc9e5
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 1 deletion.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@
**Note**: Gaps between patch versions are faulty/broken releases.

## v0.7.2

- **Bug Fix**
- Add className to locals of Struct and List (thanks @jsor)

## v0.7.1

- **Internal**
Expand Down
2 changes: 2 additions & 0 deletions lib/components.js
Original file line number Diff line number Diff line change
Expand Up @@ -643,6 +643,7 @@ var Struct = (function (_Component6) {
var locals = _Component6.prototype.getLocals.call(this);
locals.order = this.getOrder();
locals.inputs = this.getInputs();
locals.className = options.className;
return locals;
};

Expand Down Expand Up @@ -850,6 +851,7 @@ var List = (function (_Component7) {
click: this.addItem.bind(this)
};
locals.items = this.getItems();
locals.className = options.className;
return locals;
};

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "tcomb-form",
"version": "0.7.1",
"version": "0.7.2",
"description": "React.js powered UI library for developing forms writing less code",
"main": "index.js",
"scripts": {
Expand Down
2 changes: 2 additions & 0 deletions src/components.js
Original file line number Diff line number Diff line change
Expand Up @@ -519,6 +519,7 @@ export class Struct extends Component {
const locals = super.getLocals();
locals.order = this.getOrder();
locals.inputs = this.getInputs();
locals.className = options.className;
return locals;
}

Expand Down Expand Up @@ -693,6 +694,7 @@ export class List extends Component {
click: this.addItem.bind(this)
};
locals.items = this.getItems();
locals.className = options.className;
return locals;
}

Expand Down

0 comments on commit 8cbc9e5

Please sign in to comment.