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

Commit 2c14409

Browse files
author
Kent C. Dodds
committed
Fixing bug introduced in #422
1 parent ca6b89e commit 2c14409

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
# 6.23.3
2+
3+
## Bug Fixes
4+
5+
- Logic bug introduced in the last version.
6+
17
# 6.23.2
28

39
## Bug Fixes

src/run/formlyNgModelAttrsManipulator.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,8 +145,7 @@ function addFormlyNgModelAttrsManipulator(formlyConfig, $interpolate, formlyWarn
145145
for (let i = 0; i < allNgModelNodes.length; i++) {
146146
const ngModelNode = allNgModelNodes[i];
147147
if (!ngModelNode.hasAttribute('formly-skip-ng-model-attrs-manipulator') &&
148-
(angular.isString(skip) || !nodeMatches(ngModelNode, skip))) {
149-
148+
!(angular.isString(skip) && nodeMatches(ngModelNode, skip))) {
150149
matchingNgModelNodes.push(ngModelNode);
151150
}
152151
}

0 commit comments

Comments
 (0)