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

Commit a60ef3c

Browse files
author
Kent C. Dodds
committed
6.23.6
1 parent 45166de commit a60ef3c

File tree

5 files changed

+19
-8
lines changed

5 files changed

+19
-8
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@
22

33
## Bug Fixes
44

5+
- There were issues with the `form` getting the prestine state set incorrectly.
6+
7+
8+
# 6.23.5
9+
10+
## Bug Fixes
11+
512
- Had performance issues with the previous release. Also the previous release was causing problems with `$dirty`.
613
[#432](/../../issues/432). Thanks [@TheMcMurder](https://github.com/TheMcMurder)
714

dist/formly.js

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//! angular-formly version 6.23.5 built with ♥ by Astrism <[email protected]>, Kent C. Dodds <[email protected]> (ó ì_í)=óò=(ì_í ò)
1+
//! angular-formly version 6.23.6 built with ♥ by Astrism <[email protected]>, Kent C. Dodds <[email protected]> (ó ì_í)=óò=(ì_í ò)
22

33
(function webpackUniversalModuleDefinition(root, factory) {
44
if(typeof exports === 'object' && typeof module === 'object')
@@ -147,7 +147,7 @@ return /******/ (function(modules) { // webpackBootstrap
147147

148148
ngModule.constant('formlyApiCheck', _providersFormlyApiCheck2['default']);
149149
ngModule.constant('formlyErrorAndWarningsUrlPrefix', _otherDocsBaseUrl2['default']);
150-
ngModule.constant('formlyVersion', ("6.23.5")); // <-- webpack variable
150+
ngModule.constant('formlyVersion', ("6.23.6")); // <-- webpack variable
151151

152152
ngModule.provider('formlyUsability', _providersFormlyUsability2['default']);
153153
ngModule.provider('formlyConfig', _providersFormlyConfig2['default']);
@@ -449,7 +449,7 @@ return /******/ (function(modules) { // webpackBootstrap
449449
Object.defineProperty(exports, "__esModule", {
450450
value: true
451451
});
452-
exports["default"] = "https://github.com/formly-js/angular-formly/blob/" + ("6.23.5") + "/other/ERRORS_AND_WARNINGS.md#";
452+
exports["default"] = "https://github.com/formly-js/angular-formly/blob/" + ("6.23.6") + "/other/ERRORS_AND_WARNINGS.md#";
453453
module.exports = exports["default"];
454454

455455
/***/ },
@@ -1582,6 +1582,7 @@ return /******/ (function(modules) { // webpackBootstrap
15821582
function addFormatters() {
15831583
setParsersOrFormatters('formatters');
15841584
var ctrl = scope.fc;
1585+
var formWasPristine = scope.form.$pristine;
15851586
if (scope.options.formatters) {
15861587
(function () {
15871588
var value = ctrl.$modelValue;
@@ -1592,6 +1593,9 @@ return /******/ (function(modules) { // webpackBootstrap
15921593
ctrl.$setViewValue(value);
15931594
ctrl.$render();
15941595
ctrl.$setPristine();
1596+
if (formWasPristine) {
1597+
scope.form.$setPristine();
1598+
}
15951599
})();
15961600
}
15971601
}

dist/formly.min.js

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/formly.min.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "angular-formly",
3-
"version": "6.23.5",
3+
"version": "6.23.6",
44
"author": "Astrism <[email protected]>",
55
"contributors": [
66
"Astrism <[email protected]>",

0 commit comments

Comments
 (0)