Skip to content

Commit

Permalink
Version bump and CHANGELOG
Browse files Browse the repository at this point in the history
  • Loading branch information
davidlgj committed Sep 25, 2015
1 parent e69cb4c commit d31ab92
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
v0.8.11
-------
* Bugfix for checkboxes validation in the new builder.

v0.8.10
-------
* Bugfix for checkboxes when model array is undefined.
Expand Down
3 changes: 0 additions & 3 deletions dist/schema-form.js
Original file line number Diff line number Diff line change
Expand Up @@ -2278,7 +2278,6 @@ function(sel, sfPath, schemaForm) {
//scope.modelArray = modelArray;
scope.modelArray = scope.$eval(attrs.sfNewArray);
// validateField method is exported by schema-validate
console.warn('first! watchFn ', scope.firstDigest)
if (scope.ngModel && scope.ngModel.$pristine && scope.firstDigest &&
(!scope.options || scope.options.validateOnRender !== true)) {
return;
Expand Down Expand Up @@ -2852,10 +2851,8 @@ angular.module('schemaForm').directive('schemaValidate', ['sfValidator', '$parse
};

ngModel.$formatters.push(function(val) {

// When a form first loads this will be called for each field.
// we usually don't want that.

if (ngModel.$pristine && scope.firstDigest &&
(!scope.options || scope.options.validateOnRender !== true)) {
return val;
Expand Down
2 changes: 1 addition & 1 deletion dist/schema-form.min.js

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": "angular-schema-form",
"version": "0.8.10",
"version": "0.8.11",
"description": "Create complex forms from a JSON schema with angular.",
"repository": "Textalk/angular-schema-form",
"main": "dist/schema-form.min.js",
Expand Down

0 comments on commit d31ab92

Please sign in to comment.