You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/LiveComponent/assets/src/set_deep_data.ts
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -21,7 +21,7 @@ export function setDeepData(data, propertyPath, value) {
21
21
// an integer (2).
22
22
if(typeofcurrentLevelData!=='object'){
23
23
constlastPart=parts.pop();
24
-
thrownewError(`Cannot set data-model="${propertyPath}". They parent "${parts.join(',')}" data does not appear to be an object (it's "${currentLevelData}"). Did you forget to add exposed={"${lastPart}"} to its LiveProp?`)
24
+
thrownewError(`Cannot set data-model="${propertyPath}". The parent "${parts.join('.')}" data does not appear to be an object (it's "${currentLevelData}"). Did you forget to add exposed={"${lastPart}"} to it's LiveProp?`)
25
25
}
26
26
27
27
// represents a situation where the key you're setting *is* an object,
0 commit comments