Skip to content
This repository has been archived by the owner on Apr 30, 2018. It is now read-only.

Commit

Permalink
v8.4.1
Browse files Browse the repository at this point in the history
  • Loading branch information
formly-bot committed Jan 20, 2017
2 parents 3e13d4c + 00a168c commit 60eb83c
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 9 deletions.
10 changes: 6 additions & 4 deletions dist/formly.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* angular-formly JavaScript Library v8.4.0
* angular-formly JavaScript Library v8.4.1
*
* @license MIT (http://license.angular-formly.com)
*
Expand Down Expand Up @@ -157,7 +157,7 @@ return /******/ (function(modules) { // webpackBootstrap

ngModule.constant('formlyApiCheck', _providersFormlyApiCheck2['default']);
ngModule.constant('formlyErrorAndWarningsUrlPrefix', _otherDocsBaseUrl2['default']);
ngModule.constant('formlyVersion', ("8.4.0")); // <-- webpack variable
ngModule.constant('formlyVersion', ("8.4.1")); // <-- webpack variable

ngModule.provider('formlyUsability', _providersFormlyUsability2['default']);
ngModule.provider('formlyConfig', _providersFormlyConfig2['default']);
Expand Down Expand Up @@ -436,7 +436,7 @@ return /******/ (function(modules) { // webpackBootstrap
Object.defineProperty(exports, "__esModule", {
value: true
});
exports["default"] = "https://github.com/formly-js/angular-formly/blob/" + ("8.4.0") + "/other/ERRORS_AND_WARNINGS.md#";
exports["default"] = "https://github.com/formly-js/angular-formly/blob/" + ("8.4.1") + "/other/ERRORS_AND_WARNINGS.md#";
module.exports = exports["default"];

/***/ },
Expand Down Expand Up @@ -2264,7 +2264,9 @@ return /******/ (function(modules) { // webpackBootstrap
function validateFormControl(formControl, promise) {
var validate = formControl.$validate;
if (promise) {
promise.then(validate);
promise.then(function () {
return validate.apply(formControl);
});
} else {
validate();
}
Expand Down
4 changes: 2 additions & 2 deletions dist/formly.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/formly.min.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": "angular-formly",
"version": "8.4.0",
"version": "8.4.1",
"author": "Astrism <[email protected]>",
"contributors": [
"Astrism <[email protected]>",
Expand Down
2 changes: 1 addition & 1 deletion src/directives/formly-form.controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export default function FormlyFormController(
function validateFormControl(formControl, promise) {
const validate = formControl.$validate
if (promise) {
promise.then(validate)
promise.then(() => validate.apply(formControl))
} else {
validate()
}
Expand Down

0 comments on commit 60eb83c

Please sign in to comment.