Skip to content

Commit

Permalink
Fixes angular-schema-form#857
Browse files Browse the repository at this point in the history
  • Loading branch information
Anthropic committed Apr 15, 2017
1 parent ceba7d6 commit 951c404
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions dist/json-schema-form-core.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/json-schema-form-core.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "json-schema-form-core",
"version": "1.0.0-alpha.3",
"version": "1.0.0-alpha.4",
"description": "JSON-Schema and JSON-UI-Schema utilities for form generation.",
"main": "dist/json-schema-form-core.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion src/lib/validate.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export function validate(form, value) {
};

let valueWrap = {};
if (!!value) {
if (typeof value !== 'undefined') {
valueWrap[propName] = value;
};

Expand Down

0 comments on commit 951c404

Please sign in to comment.