Skip to content

Commit

Permalink
upgrade to 0.6.13 and update changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
stevehu committed Jun 4, 2019
1 parent 0449588 commit f9cd656
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 2 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@ and this project adheres to [Semantic Versioning](http://semver.org/).

### Changed

## 0.6.13 - 2019-06-03
### Added

### Changed
- Fix 163 Allow htmlClass on fieldset elements. Thanks @fauxsoup

## 0.6.12 - 2019-03-26
### Added

Expand Down
7 changes: 6 additions & 1 deletion lib/FieldSet.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ var _FormLabel2 = _interopRequireDefault(_FormLabel);

var _styles = require("@material-ui/core/styles");

var _classnames = require("classnames");

var _classnames2 = _interopRequireDefault(_classnames);

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

var styles = function styles(theme) {
Expand All @@ -49,12 +53,13 @@ var FieldSet = function FieldSet(_ref) {
var forms = form.items.map(function (f, index) {
return builder(f, model, index, mapper, onChange, builder);
});
var className = (0, _classnames2.default)(classes.root, form.htmlClass);

return _react2.default.createElement(
_FormControl2.default,
_extends({
component: "fieldset",
className: classes.root,
className: className,
style: form.style
}, form.otherProps),
_react2.default.createElement(
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": "react-schema-form",
"version": "0.6.12",
"version": "0.6.13",
"description": "React json schema form",
"keywords": [
"json schema",
Expand Down

0 comments on commit f9cd656

Please sign in to comment.