We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bf024c1 commit df90f67Copy full SHA for df90f67
app/code/Magento/Ui/view/base/web/js/form/element/post-code.js
@@ -28,8 +28,8 @@ define([
28
initObservable: function () {
29
this._super();
30
31
- this.value.equalityComparer = function(a, b) {
32
- return (!a && !b) || (a == b);
+ this.value.equalityComparer = function (oldValue, newValue) {
+ return !oldValue && !newValue || oldValue === newValue;
33
};
34
35
return this;
0 commit comments