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 36866cb commit 1ab7b73Copy full SHA for 1ab7b73
1 file changed
packages/devextreme/js/__internal/core/utils/m_data.ts
@@ -176,14 +176,15 @@ export const compileSetter = function (expr) {
176
const lastLevelIndex = expr.length - 1;
177
const unsafeFragment = expr.find(isUnsafePathFragment);
178
179
+ if (unsafeFragment !== undefined) {
180
+ return function () {
181
+ errors.log('E0123', unsafeFragment);
182
+ };
183
+ }
184
+
185
return function (obj, value, options) {
186
options = prepareOptions(options);
187
- if (unsafeFragment !== undefined) {
- errors.log('E0123', unsafeFragment);
- return;
- }
-
188
let currentValue = unwrap(obj, options);
189
190
expr.forEach(function (propertyName, levelIndex) {
0 commit comments